diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-08-18 11:29:12 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-09-10 12:35:39 +0200 |
commit | c3b9a62c8f932f32a733d6b628f61f3f28345727 (patch) | |
tree | 623a150079db7883444cc404ffcc1e0af4b80b7a /fs/btrfs/volumes.h | |
parent | xfs: replace barriers with explicit flush / FUA usage (diff) | |
download | linux-c3b9a62c8f932f32a733d6b628f61f3f28345727.tar.xz linux-c3b9a62c8f932f32a733d6b628f61f3f28345727.zip |
btrfs: replace barriers with explicit flush / FUA usage
Switch to the WRITE_FLUSH_FUA flag for log writes, remove the EOPNOTSUPP
detection for barriers and stop setting the barrier flag for discards.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r-- | fs/btrfs/volumes.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h index 31b0fabdd2ea..2b638b6e4eea 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h @@ -42,7 +42,6 @@ struct btrfs_device { int running_pending; u64 generation; - int barriers; int writeable; int in_fs_metadata; |