[PATCH v15 08/25] block: don't delay bio task completions
Andrey Albershteyn via Linux-f2fs-devel <[email protected]>
| Newsgroups | gmane.linux.file-systems.f2fs,gmane.linux.file-systems.union,gmane.linux.block,gmane.linux.file-systems,gmane.comp.file-systems.ext4,gmane.comp.file-systems.btrfs |
|---|---|
| Message-ID | <[email protected]> |
From: Christoph Hellwig <[email protected]> The delay causes a more than an order of magnitude slow down when using it to defer the T10 PI processing. Signed-off-by: Christoph Hellwig <[email protected]> --- block/bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/bio.c b/block/bio.c index f228940d6b42..79fb94f85a5f 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1811,7 +1811,7 @@ void __bio_complete_in_task(struct bio *bio) if (was_empty) mod_delayed_work_on(batch->cpu, bio_complete_wq, - &batch->work, 1); + &batch->work, 0); } EXPORT_SYMBOL_GPL(__bio_complete_in_task); -- 2.54.0