summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/include/obd_support.h
diff options
context:
space:
mode:
authorBobi Jam <bobijam.xu@intel.com>2016-10-27 18:11:37 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-30 10:56:15 -0400
commit623f55c45109e7f802812bff3ecc09d81fd4d0c2 (patch)
treea41ab9394ff129ff54b5abc3edb4ffbc8df77ab5 /drivers/staging/lustre/lustre/include/obd_support.h
parent330e2a0f5f9e7410d0937ed35ac34284da17f2e8 (diff)
downloadlinux-0-day-623f55c45109e7f802812bff3ecc09d81fd4d0c2.tar.gz
linux-0-day-623f55c45109e7f802812bff3ecc09d81fd4d0c2.tar.xz
staging: lustre: llite: restart short read/write for normal IO
If normal IO got short read/write, we'd restart the IO from where we've accomplished until we meet EOF or error happens. Signed-off-by: Bobi Jam <bobijam.xu@intel.com> Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6389 Reviewed-on: http://review.whamcloud.com/14123 Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/include/obd_support.h')
-rw-r--r--drivers/staging/lustre/lustre/include/obd_support.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/include/obd_support.h b/drivers/staging/lustre/lustre/include/obd_support.h
index 1233c3455b6fa..7f3f8cd2be760 100644
--- a/drivers/staging/lustre/lustre/include/obd_support.h
+++ b/drivers/staging/lustre/lustre/include/obd_support.h
@@ -458,6 +458,8 @@ extern char obd_jobid_var[];
#define OBD_FAIL_LOV_INIT 0x1403
#define OBD_FAIL_GLIMPSE_DELAY 0x1404
#define OBD_FAIL_LLITE_XATTR_ENOMEM 0x1405
+#define OBD_FAIL_MAKE_LOVEA_HOLE 0x1406
+#define OBD_FAIL_LLITE_LOST_LAYOUT 0x1407
#define OBD_FAIL_GETATTR_DELAY 0x1409
#define OBD_FAIL_FID_INDIR 0x1501