NFS: Add client side support for CB_NOTIFY
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest4 patches 0 repliesNew
- v34 patches 0 repliesSuperseded
- v24 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
* Properly handle negative dentries
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | NFS: Add an outline for the CB_NOTIFY operationfs/ fs/ fs/ +2 more | +80 | 0 replies | |
| 2/4 | NFS: Add support for CB_NOTIFY4_REMOVE_ENTRYfs/ fs/ fs/ +2 more | +147 | 0 replies | |
| 3/4 | NFS: Add support for CB_NOTIFY4_ADD_ENTRYfs/ fs/ fs/ +3 more | +175 | 0 replies | |
| 4/4 | NFS: Add support for CB_NOTIFY4_RENAME_ENTRYfs/ fs/ fs/ +2 more | +38 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/4] NFS: Add client side support for CB_NOTIFY
From: Anna Schumaker <[email protected]>
These patches add support for the CB_NOTIFY callback operation from NFS servers. Editing directory order or placement in our caches isn't easy or practical the way things are structured now. Instead, I use CB_NOTIFY as an indication that the client needs to refresh its view of the directory.
Changes in v4:
* Properly handle negative dentries
Changes in v3:
* Change NOTIFY4_REMOVE to create a negative dentry
Changes in v2:
* Fix signed / unsigned type mixups
* Don't try to share lookup code between NOTIFY4_REMOVE and NOTIFY4_ADD
* Add handling for the NOTIFY4_ADD 'na_have_old_entry' case
Thoughts?
Anna
Anna Schumaker (4):
NFS: Add an outline for the CB_NOTIFY operation
NFS: Add support for CB_NOTIFY4_REMOVE_ENTRY
NFS: Add support for CB_NOTIFY4_ADD_ENTRY
NFS: Add support for CB_NOTIFY4_RENAME_ENTRY
fs/nfs/callback.h | 51 ++++++++++++ fs/nfs/callback_proc.c | 160 +++++++++++++++++++++++++++++++++++++ fs/nfs/callback_xdr.c | 175 ++++++++++++++++++++++++++++++++++++++++- fs/nfs/nfs4_fs.h | 2 + fs/nfs/nfs4xdr.c | 33 +++++++- include/linux/nfs4.h | 6 ++ 6 files changed, 422 insertions(+), 5 deletions(-)
Signature · 1 line
2.55.0