lkml.org 
[lkml]   [2019]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/19] btrfs: introduce submit buffer
On Fri, Jun 07, 2019 at 10:10:17PM +0900, Naohiro Aota wrote:
> Sequential allocation is not enough to maintain sequential delivery of
> write IOs to the device. Various features (async compress, async checksum,
> ...) of btrfs affect ordering of the IOs. This patch introduces submit
> buffer to sort WRITE bios belonging to a block group and sort them out
> sequentially in increasing block address to achieve sequential write
> sequences with __btrfs_map_bio().
>
> Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>

I hate everything about this. Can't we just use the plugging infrastructure for
this and then make sure it re-orders the bios before submitting them? Also
what's to prevent the block layer scheduler from re-arranging these io's?
Thanks,

Josef

\
 
 \ /
  Last update: 2019-06-13 17:06    [W:0.269 / U:10.384 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site