On Tue, Aug 20, 2019 at 11:13:09PM -0700, Chaitanya Kulkarni wrote: > This is a preparation patch which moves the duplicate code for sectors > and nr_sectors calculations for bio vs request mode into their > respective callers (null_queue_bio(), null_qeueue_req()). Now the core > function only deals with the respective actions and commands instead of > having to calculte the bio vs req operations and different sector > related variables. We also move the flush command handling at the top > which significantly simplifies the rest of the code. > > Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx>