@@ -484,6 +484,7 @@
#define OBD_FAIL_LLITE_RACE_MOUNT 0x1417
#define OBD_FAIL_LLITE_PAGE_ALLOC 0x1418
#define OBD_FAIL_LLITE_OPEN_DELAY 0x1419
+#define OBD_FAIL_LLITE_XATTR_PAUSE 0x1420
#define OBD_FAIL_FID_INDIR 0x1501
#define OBD_FAIL_FID_INLMA 0x1502
@@ -396,6 +396,8 @@ static int ll_xattr_cache_refill(struct inode *inode)
u32 *xsizes;
int rc, i;
+ CFS_FAIL_TIMEOUT(OBD_FAIL_LLITE_XATTR_PAUSE, cfs_fail_val ?: 2);
+
rc = ll_xattr_find_get_lock(inode, &oit, &req);
if (rc)
goto err_req;
@@ -886,7 +886,7 @@ static inline bool mdc_skip_mod_rpc_slot(const struct lookup_intent *it)
{
if (it &&
(it->it_op == IT_GETATTR || it->it_op == IT_LOOKUP ||
- it->it_op == IT_READDIR ||
+ it->it_op == IT_READDIR || it->it_op == IT_GETXATTR ||
(it->it_op == IT_LAYOUT && !(it->it_flags & MDS_FMODE_WRITE))))
return true;
return false;