2015年5月7日 星期四

NFS v4 與 NFS v4.1 可用的 Operation 差別

這張表是直接比較 RFC 3530 與 RFC 5661 簡單做出來的表,空格表示不支援的 Operation
其中 NFS v4.1 除了有增加新的 Operation 以外,也減少了四個 Operation 的支援
原因可以參考 RFC 5661 的 8.8 節 [3]。

Operation v4 v4.1 Description
ACCESS Yes Yes Check Access Rights.
CLOSE Yes Yes Close File.
COMMIT Yes Yes Commit Cached Data.
CREATE Yes Yes Create a Non-Regular File Object.
DELEGPURGE Yes Yes Purge Delegations Awaiting Recovery.
DELEGRETURN Yes Yes Return Delegation.
GETATTR Yes Yes Get Attributes.
GETFH Yes Yes Get Current Filehandle.
LINK Yes Yes Create Link to a File.
LOCK Yes Yes Create Lock.
LOCKT Yes Yes Test for Lock.
LOCKU Yes Yes Unlock File.
LOOKUP Yes Yes Lookup Filename.
LOOKUPP Yes Yes Lookup Parent Directory.
NVERIFY Yes Yes Verify Difference in Attributes.
OPEN Yes Yes Open a Regular File.
OPENATTR Yes Yes Open Named Attribute Directory.
OPEN_CONFIRM Yes   Confirm Open.
OPEN_DOWNGRADE Yes Yes Reduce Open File Access.
PUTFH Yes Yes Set Current Filehandle.
PUTPUBFH Yes Yes Set Public Filehandle.
PUTROOTFH Yes Yes Set Root Filehandle.
READ Yes Yes Read from File.
READDIR Yes Yes Read Directory.
READLINK Yes Yes Read Symbolic Link.
REMOVE Yes Yes Remove File System Object.
RENAME Yes Yes Rename Directory Entry.
RENEW Yes   Renew a Lease.
RESTOREFH Yes Yes Restore Saved Filehandle.
SAVEFH Yes Yes Save Current Filehandle.
SECINFO Yes Yes Obtain Available Security.
SETATTR Yes Yes Set Attributes.
SETCLIENTID Yes   Negotiate Clientid.
SETCLIENTID_CONFIRM Yes   Confirm Clientid.
VERIFY Yes Yes Verify Same Attributes.
WRITE Yes Yes Write to File.
RELEASE_LOCKOWNER Yes   Release Lockowner State.
BACKCHANNEL_CTL   Yes Backchannel Control.
BIND_CONN_TO_SESSION   Yes Associate Connection with Session.
EXCHANGE_ID   Yes Instantiate Client ID.
CREATE_SESSION   Yes Create New Session and Confirm Client ID.
DESTROY_SESSION   Yes Destroy a Session.
FREE_STATEID   Yes Free Stateid with No Locks.
GET_DIR_DELEGATION   Yes Get a Directory Delegation.
GETDEVICEINFO   Yes Get Device Information.
GETDEVICELIST   Yes Get All Device Mappings for a File System.
LAYOUTCOMMIT   Yes Commit Writes Made Using a Layout.
LAYOUTGET   Yes Get Layout Information.
LAYOUTRETURN   Yes Release Layout Information.
SECINFO_NO_NAME   Yes Get Security on Unnamed Object.
SEQUENCE   Yes Supply Per-Procedure Sequencing and Control.
SET_SSV   Yes Update SSV for a Client ID.
TEST_STATEID   Yes Test Stateids for Validity.
WANT_DELEGATION   Yes Request Delegation.
DESTROY_CLIENTID   Yes Destroy a Client ID.
RECLAIM_COMPLETE   Yes Indicates Reclaims Finished.
ILLEGAL Yes Yes Illegal Operation.

參考資料:
  1. RFC 3530 - Network File System (NFS) version 4 Protocol
  2. RFC 5661 - Network File System (NFS) Version 4 Minor Version 1 Protocol
  3. Obsolete Locking Infrastructure from NFSv4.0

沒有留言:

張貼留言