[PATCH 0/2] NFSD: Fix last write offset handling in layoutcommit

Sergey Bashirov posted 2 patches 3 months ago
There is a newer version of this series
fs/nfsd/blocklayout.c |  2 +-
fs/nfsd/nfs4proc.c    | 20 +++++++-------------
2 files changed, 8 insertions(+), 14 deletions(-)
[PATCH 0/2] NFSD: Fix last write offset handling in layoutcommit
Posted by Sergey Bashirov 3 months ago
These patches correct the behavior of the pNFS server when the client
sends a layoutcommit without a new file size and with zero number of
block/scsi extents.

Tested manually for the pNFS block layout setup.

Signed-off-by: Sergey Bashirov <sergeybashirov@gmail.com>
---
Sergey Bashirov (2):
  NFSD: Minor cleanup in layoutcommit processing
  NFSD: Fix last write offset handling in layoutcommit

 fs/nfsd/blocklayout.c |  2 +-
 fs/nfsd/nfs4proc.c    | 20 +++++++-------------
 2 files changed, 8 insertions(+), 14 deletions(-)

-- 
2.43.0