Skip to content

cifs: clean up management of open filehandles (try #5)

Jeff Layton linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13cifs: fix flags handling in cifs_posix_openfs/cifs/cifsproto.h fs/cifs/dir.c fs/cifs/file.c+95 -1191 reply
2/13cifs: eliminate oflags option from cifs_new_fileinfofs/cifs/cifsproto.h fs/cifs/dir.c fs/cifs/file.c+7 -102 replies
3/13cifs: eliminate the inode argument from cifs_new_fileinfofs/cifs/cifsproto.h fs/cifs/dir.c fs/cifs/file.c+22 -270 replies
4/13cifs: clean up cifs_reopen_filefs/cifs/cifsglob.h fs/cifs/dir.c fs/cifs/file.c+57 -740 replies
5/13cifs: cifs_write argument change and cleanupfs/cifs/file.c+17 -340 replies
6/13cifs: eliminate pfile pointer from cifsFileInfofs/cifs/cifsglob.h fs/cifs/dir.c fs/cifs/file.c+3 -100 replies
7/13cifs: move cifs_new_fileinfo to file.cfs/cifs/dir.c fs/cifs/file.c+47 -481 reply
8/13cifs: convert GlobalSMBSeslock from a rwlock to regular spinlockfs/cifs/cifsfs.c fs/cifs/cifsglob.h fs/cifs/cifssmb.c +3 more+38 -381 reply
9/13cifs: move cifsFileInfo_put to file.cfs/cifs/cifsglob.h fs/cifs/file.c+11 -90 replies
10/13cifs: move close processing from cifs_close to cifsFileInfo_putfs/cifs/cifsglob.h fs/cifs/file.c fs/cifs/misc.c+60 -1380 replies
11/13cifs: convert cifsFileInfo->count to non-atomic counterfs/cifs/cifsglob.h fs/cifs/file.c+11 -62 replies
12/13cifs: wait for writeback to complete in cifs_flushfs/cifs/file.c+7 -140 replies
13/13cifs: eliminate cifsInodeInfo->write_behind_rcfs/cifs/cifsfs.c fs/cifs/cifsglob.h fs/cifs/file.c +1 more+13 -382 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchSuresh JayaramanDave Kleikamp
1/13R-b
2/13R-b
3/13R-b A-b
4/13R-b A-b
5/13R-b A-b
6/13R-b A-b
7/13R-b A-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b
13/13R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] cifs: clean up management of open filehandles (try #5)

Fifth attempt at a cleanup of the filehandle management code in CIFS. The changes from the last set are pretty minimal.

Steve has committed the first three patches in the set, so they've been dropped from this patchbomb.

Also, I've put the list ordering back in for the flist. I still think it's a worthless optimization and just makes the code more confusing and fragile, but Steve feels strongly that it should stay as an ordered list.

I'd like to see this merged before the 2.6.37 merge window opens. Comments and suggestions welcome...

Jeff Layton (13):
cifs: fix flags handling in cifs_posix_open
cifs: eliminate oflags option from cifs_new_fileinfo
cifs: eliminate the inode argument from cifs_new_fileinfo
cifs: clean up cifs_reopen_file
cifs: cifs_write argument change and cleanup
cifs: eliminate pfile pointer from cifsFileInfo
cifs: move cifs_new_fileinfo to file.c
cifs: convert GlobalSMBSeslock from a rwlock to regular spinlock
cifs: move cifsFileInfo_put to file.c
cifs: move close processing from cifs_close to cifsFileInfo_put
cifs: convert cifsFileInfo->count to non-atomic counter
cifs: wait for writeback to complete in cifs_flush
cifs: eliminate cifsInodeInfo->write_behind_rc

 fs/cifs/cifsfs.c    |    3 +-
 fs/cifs/cifsglob.h  |   25 +--
 fs/cifs/cifsproto.h |    8 +-
 fs/cifs/cifssmb.c   |    4 +-
 fs/cifs/dir.c       |  156 +-------------
 fs/cifs/file.c      |  612 +++++++++++++++++++++++++--------------------------
 fs/cifs/inode.c     |   15 +-
 fs/cifs/misc.c      |   16 +-
 fs/cifs/readdir.c   |    6 +-
 9 files changed, 334 insertions(+), 511 deletions(-)
Signature · 1 line
1.7.2.3