We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f8030 commit 76227f6Copy full SHA for 76227f6
drivers/md/dm-cache-target.c
@@ -1829,6 +1829,7 @@ static void process_deferred_bios(struct work_struct *ws)
1829
1830
else
1831
commit_needed = process_bio(cache, bio) || commit_needed;
1832
+ cond_resched();
1833
}
1834
1835
if (commit_needed)
@@ -1852,6 +1853,7 @@ static void requeue_deferred_bios(struct cache *cache)
1852
1853
while ((bio = bio_list_pop(&bios))) {
1854
bio->bi_status = BLK_STS_DM_REQUEUE;
1855
bio_endio(bio);
1856
1857
1858
1859
@@ -1892,6 +1894,8 @@ static void check_migrations(struct work_struct *ws)
1892
1894
r = mg_start(cache, op, NULL);
1893
1895
if (r)
1896
break;
1897
+
1898
1899
1900
1901
0 commit comments