[PATCH 0/4] Don't cache pNFS deviceids in violation of RFC5661 rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



RFC5661 says that we can only cache a pNFS deviceid if at least one of 2
conditions is satisfied:

1) There are outstanding layouts that reference that stateid
2) The server set the NOTIFY_DEVICEID4_CHANGE and NOTIFY_DEVICEID4_DELETE
   in its reply to the GETDEVICEINFO call.

Trond Myklebust (4):
  NFSv4.1: Convert pNFS deviceid to use kfree_rcu()
  NFSv4.1: Cleanup - don't opencode nfs4_put_deviceid_node()
  NFSv4.1: Allow getdeviceinfo to return notification info back to
    caller
  NFSv4.1: Don't cache deviceids that have no notifications

 fs/nfs/blocklayout/dev.c                  |  2 +-
 fs/nfs/filelayout/filelayoutdev.c         |  2 +-
 fs/nfs/flexfilelayout/flexfilelayoutdev.c |  2 +-
 fs/nfs/nfs4proc.c                         |  7 +++++++
 fs/nfs/nfs4xdr.c                          | 14 +++++---------
 fs/nfs/objlayout/objio_osd.c              |  2 +-
 fs/nfs/pnfs.h                             |  3 +++
 fs/nfs/pnfs_dev.c                         | 21 +++++++++++++--------
 include/linux/nfs_xdr.h                   |  2 ++
 9 files changed, 34 insertions(+), 21 deletions(-)

-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux