Whamcloud - gitweb
LU-13922 osd-ldiskfs: no need to add OI cache in readdir 82/39782/3
authorLai Siyao <lai.siyao@whamcloud.com>
Sat, 29 Aug 2020 21:53:18 +0000 (05:53 +0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 20 Sep 2020 04:27:11 +0000 (04:27 +0000)
commitbc5934632df10aaa02b32b8254a473c14c6f8104
tree14353aacdf0e0ac8191cb45afe6012977f7d85fc
parent023a9e4cde5498aae89971028dc35c1e3279da5b
LU-13922 osd-ldiskfs: no need to add OI cache in readdir

It's a waste of time to call osd_add_oi_cache() in osd_it_ea_rec(),
because each dirent read will override it.

Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: Iec701bf66153fdf2ba7a3f3b89565381215abf33
Reviewed-on: https://review.whamcloud.com/39782
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Stephane Thiell <sthiell@stanford.edu>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_handler.c