Re: [PATCH 5/6] f2fs: add a kernel thread to issue discard commands asynchronously

From: Christoph Hellwig
Date: Mon Jan 16 2017 - 12:32:31 EST


On Fri, Jan 13, 2017 at 11:12:11AM -0800, Jaegeuk Kim wrote:
> Previously, I've done to issue discard bios asynchronously. But the problem that
> I've got is that was not enough. When testing nvme SSD with noop IO scheduler,
> submit_bio() was blocked at every 8 async discard bios, resulting in very slow
> checkpoint process which blocks most of other FS operations.

Where does it block? Are you running out of request? What driver is
this on top of?