• Olga Kornievskaia's avatar
    NFSD check stateids against copy stateids · b7342204
    Olga Kornievskaia authored
    Incoming stateid (used by a READ) could be a saved copy stateid.
    Using the provided stateid, look it up in the list of copy_notify
    stateids. If found, use the parent's stateid and parent's clid
    to look up the parent's stid to do the appropriate checks.
    
    Update the copy notify timestamp (cpntf_time) with current time
    this making it 'active' so that laundromat thread will not delete
    copy notify state.
    Signed-off-by: default avatarOlga Kornievskaia <kolga@netapp.com>
    b7342204
nfs4state.c 205 KB