[dm-devel] [PATCH 01/16] block: fix elevator init check

Christoph Hellwig hch at lst.de
Tue Jan 24 15:10:41 UTC 2017


On Tue, Jan 24, 2017 at 08:06:39AM -0700, Jens Axboe wrote:
> We check for REQ_PREFLUSH | REQ_FUA in so many places though, might not
> be a bad idea to keep the helper but just make it take the opf and fix
> up the other locations too. The fact that PREFLUSH|FUA is the magic to
> check for is somewhat tribal knowledge.

I'll see if I can come up with something sensible.  The current
helper using the bio and the magic 0 value is not exactly helpful.




More information about the dm-devel mailing list