diff options
author | Anand Jain <anand.jain@oracle.com> | 2017-04-06 11:22:53 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-04-18 16:13:27 +0200 |
commit | c2a9c7ab475bc3aaf06521a39ac65bc48c8cad4f (patch) | |
tree | f605531dbf3f58c262ddeec51239619b044696d3 /drivers/media/platform/vimc/vimc-sensor.c | |
parent | 13e88e1560d6014838e2dd9f8b9cf8ec9a8d86e6 (diff) |
btrfs: check if the device is flush capable
The block layer call chain from submit_bio will check if the write cache
is enabled for the given queue before submitting the flush. This will
add a code to fail fast if its not.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ updated changelog to reflect current code stat, blkdev_issue_flush is
not used yet ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions