Skip to content

cifs: fix "Busy inodes after umount" issues (try #2)

Jeff Layton linux-fsdevel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cifs: move cifs_new_fileinfo call out of cifs_posix_openfs/cifs/cifsproto.h fs/cifs/dir.c fs/cifs/file.c+30 -310 replies
2/2cifs: pass instantiated filp back after open callfs/cifs/dir.c fs/cifs/file.c+29 -500 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] cifs: fix "Busy inodes after umount" issues (try #2)

This is the second attempt at a patchset to fix a recent outbreak of "Busy inodes after umount" issues with cifs. The approach is basically the same.

The first patch in the original set has also been dropped since Al pointed out that the existing behavior is more clear. The second and third patches have also been merged since they touch the same areas of code. Finally a few bugs in the original set have been fixed as well.

With this set, I've not been able to reproduce any "busy inodes after umount" issues, but it would be nice to have some extra eyeballs and testing on this set before it goes in.

Jeff Layton (2):
cifs: move cifs_new_fileinfo call out of cifs_posix_open
cifs: pass instantiated filp back after open call

 fs/cifs/cifsproto.h |    1 -
 fs/cifs/dir.c       |   76 +++++++++++++++++++++++++++++---------------------
 fs/cifs/file.c      |   59 +++++++++-------------------------------
 3 files changed, 57 insertions(+), 79 deletions(-)