Whamcloud - gitweb
LU-8358 vvp: Print discarded page warning on -EIO
On client eviction, the client sometimes has dirty pages
outstanding, which are then discarded. The client is
supposed to print an error when this happens,
from vvp_vmpage_error->ll_dirty_page_discard_warn.
However, the client looks for specific errors, and newer
Lustre clients will sometimes return -EIO to I/O requests
on eviction, instead of -EINTR. Since they can still
return -EINTR, we must add -EIO as a new condition and
keep -EINTR.
Signed-off-by: Patrick Farrell <paf@cray.com>
Change-Id: I22ac82570a3840782c3fc6db40281b4a2c1cba1c
Reviewed-on: https://review.whamcloud.com/21111
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>