Whamcloud - gitweb
LU-13802 ptlrpc: correctly remove inflight request
[fs/lustre-release.git] / lustre / tests / sanity.sh
index ae3b3c4..e5a43f5 100755 (executable)
@@ -29609,6 +29609,11 @@ test_414() {
        $LCTL set_param fail_loc=0x80000521
        dd if=/dev/zero of=$DIR/$tfile bs=2M count=1 oflag=sync
        rm -f $DIR/$tfile
+       # This error path has sometimes left inflight requests dangling, so
+       # test for this by remounting the client (umount will hang if there's
+       # a dangling request)
+       umount_client $MOUNT
+       mount_client $MOUNT
 }
 run_test 414 "simulate ENOMEM in ptlrpc_register_bulk()"