From: Patrick Farrell <pfarrell@xxxxxxxxxxxxx> IOtrace log entries need to include the FID of the file concerned. Add this to async readahead. WC-bug-id: https://jira.whamcloud.com/browse/LU-15317 Lustre-commit: 1f3ecfdbb4c765808 ("LU-15317 llite: Add FID to async ra iotrace") Signed-off-by: Patrick Farrell <pfarrell@xxxxxxxxxxxxx> Reviewed-on: https://review.whamcloud.com/45912 Reviewed-by: Sebastien Buisson <sbuisson@xxxxxxx> Reviewed-by: Andreas Dilger <adilger@xxxxxxxxxxxxx> Reviewed-by: Oleg Drokin <green@xxxxxxxxxxxxx> Signed-off-by: James Simmons <jsimmons@xxxxxxxxxxxxx> --- fs/lustre/llite/rw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/lustre/llite/rw.c b/fs/lustre/llite/rw.c index 1c2f027..c807217 100644 --- a/fs/lustre/llite/rw.c +++ b/fs/lustre/llite/rw.c @@ -596,9 +596,9 @@ static void ll_readahead_handle_work(struct work_struct *wq) sbi = ll_i2sbi(inode); CDEBUG(D_READA|D_IOTRACE, - "%s: async ra from %lu to %lu triggered by user pid %d\n", - file_dentry(file)->d_name.name, work->lrw_start_idx, - work->lrw_end_idx, work->lrw_user_pid); + "%s:"DFID": async ra from %lu to %lu triggered by user pid %d\n", + file_dentry(file)->d_name.name, PFID(ll_inode2fid(inode)), + work->lrw_start_idx, work->lrw_end_idx, work->lrw_user_pid); env = cl_env_alloc(&refcheck, LCT_NOREF); if (IS_ERR(env)) { -- 1.8.3.1