commit | 6ac0f4884eaad28441c6e0f9d1400a08c2149049 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@fusionio.com> | Thu Jan 31 14:42:28 2013 -0500 |
committer | Chris Mason <chris.mason@fusionio.com> | Fri Feb 01 14:24:24 2013 -0500 |
tree | 251d86c33360948671a1b4d8cb5a38a5724468a6 | |
parent | 4ae10b3a133e1147f3c818fe2ebaf005b217b7bf [diff] |
Btrfs: add a plugging callback to raid56 writes 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>