• Marc Eshel's avatar
    nfsd4: Convert NFSv4 to new lock interface · fd85b817
    Marc Eshel authored
    Convert NFSv4 to the new lock interface.  We don't define any callback for now,
    so we're not taking advantage of the asynchronous feature--that's less critical
    for the multi-threaded nfsd then it is for the single-threaded lockd.  But this
    does allow a cluster filesystems to export cluster-coherent locking to NFS.
    
    Note that it's cluster filesystems that are the issue--of the filesystems that
    define lock methods (nfs, cifs, etc.), most are not exportable by nfsd.
    Signed-off-by: default avatarMarc Eshel <eshel@almaden.ibm.com>
    Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
    fd85b817
nfs4state.c 87.3 KB