Whamcloud - gitweb
LU-5461 mdc: don't add to page cache upon failure 50/11450/7
authorLai Siyao <lai.siyao@intel.com>
Thu, 14 Aug 2014 13:22:50 +0000 (21:22 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 17 Dec 2014 18:06:41 +0000 (18:06 +0000)
commit2e1472489481ddef9956db8008d63a78c7c84289
tree3a26a421c0a160c13036d9dbf7bf9f467c1b030e
parent597214dc586ae9d329f2bb819600ac4b9ddfcc06
LU-5461 mdc: don't add to page cache upon failure

Reading directory pages may fail on MDS, in this case client should
not cache a non-up-to-date directory page, because it will cause
a later read on the same page fail.

Add sanity 242 for this.

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: Icbb55c0ecc4b88913b08ac8998c2673ec15b18ea
Reviewed-on: http://review.whamcloud.com/11450
Tested-by: Jenkins
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdc/mdc_request.c
lustre/tests/sanity.sh