commit | 56fef7c6e02493dce316de99a11e9e26b852218b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Oct 05 09:31:09 2015 +0200 |
committer | NeilBrown <neilb@suse.com> | Sun Nov 01 13:48:28 2015 +1100 |
tree | 947aafd77670967d989849453b1d2c24d96dbfdf | |
parent | d8858f4321b744ff02e286165b643e8dc0ef1cf5 [diff] |
raid5-cache: simplify state machine when caches flushes are not needed For devices without a volatile write cache we don't need to send a FLUSH command to ensure writes are stable on disk, and thus can avoid the whole step of batching up bios for processing by the MD thread. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Shaohua Li <shli@fb.com> Signed-off-by: NeilBrown <neilb@suse.com>