Whamcloud - gitweb
LU-9620 tests: test race between pool_list and pool_remove
[fs/lustre-release.git] / lustre / lod / lod_pool.c
index df66bb3..1b15f6c 100644 (file)
@@ -260,6 +260,8 @@ static void *pool_proc_next(struct seq_file *seq, void *v, loff_t *pos)
        if (*pos >= pool_tgt_count(iter->lpi_pool))
                return NULL;
 
+       OBD_FAIL_TIMEOUT(OBD_FAIL_OST_LIST_ASSERT, cfs_fail_val);
+
        /* iterate to find a non empty entry */
        prev_idx = iter->lpi_idx;
        iter->lpi_idx++;