Btrfs: add a plugging callback to raid56 writes
authorChris Mason <chris.mason@fusionio.com>
Thu, 31 Jan 2013 19:42:28 +0000 (14:42 -0500)
committerChris Mason <chris.mason@fusionio.com>
Fri, 1 Feb 2013 19:24:24 +0000 (14:24 -0500)
Buffered writes and DIRECT_IO writes will often break up
big contiguous changes to the file into sub-stripe writes.

This adds a plugging callback to gather those smaller writes full stripe
writes.

Example on flash:

fio job to do 64K writes in batches of 3 (which makes a full stripe):

With plugging: 450MB/s
Without plugging: 220MB/s

Signed-off-by: Chris Mason <chris.mason@fusionio.com>

No differences found