• Chuck Lever's avatar
    NFS: Replace dprintk callsites in nfs_readpage(s) · d9f87743
    Chuck Lever authored
    These new events report slightly different information for readpage
    and readpages/readahead.
    
    For readpage:
                 fsx-1387  [006]   380.761896: nfs_aop_readpage:    fileid=00:28:2 fhandle=0x36fbbe51 version=1752899355910932437 offset=131072
                 fsx-1387  [006]   380.761900: nfs_aop_readpage_done: fileid=00:28:2 fhandle=0x36fbbe51 version=1752899355910932437 offset=131072 ret=0
    
    The index of a synchronous single-page read is reported.
    
    For readpages:
    
                 fsx-1387  [006]   380.760847: nfs_aop_readahead:   fileid=00:28:2 fhandle=0x36fbbe51 version=1752899355909932456 nr_pages=3
                 fsx-1387  [006]   380.760853: nfs_aop_readahead_done: fileid=00:28:2 fhandle=0x36fbbe51 version=1752899355909932456 nr_pages=3 ret=0
    
    The count of pages requested is reported. nfs_readpages does not
    wait for the READ requests to complete.
    Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
    Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
    d9f87743
nfstrace.h 40.4 KB