• A
    nfsd41: use globals for DRC limits · 4bd9b0f4
    Andy Adamson 提交于
    The version 4.1 DRC memory limit and tracking variables are server wide and
    session specific. Replace struct svc_serv fields with globals.
    Stop using the svc_serv sv_lock.
    
    Add a spinlock to serialize access to the DRC limit management variables which
    change on session creation and deletion (usage counter) or (future)
    administrative action to adjust the total DRC memory limit.
    Signed-off-by: NAndy Adamson <andros@netapp.com>
    Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
    4bd9b0f4
nfs4state.c 109.6 KB