diff options
author | Anand Jain <anand.jain@oracle.com> | 2017-04-06 11:22:52 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-04-18 16:12:07 +0200 |
commit | 13e88e1560d6014838e2dd9f8b9cf8ec9a8d86e6 (patch) | |
tree | dfc4698fc5983b4c4545abc8e425a11e426d5645 /fs/btrfs/volumes.h | |
parent | 28d70e237dac905cd8d1896af10216b7d2bced24 (diff) | |
download | linux-stable-13e88e1560d6014838e2dd9f8b9cf8ec9a8d86e6.tar.gz linux-stable-13e88e1560d6014838e2dd9f8b9cf8ec9a8d86e6.tar.bz2 linux-stable-13e88e1560d6014838e2dd9f8b9cf8ec9a8d86e6.zip |
btrfs: delete unused member nobarriers
The last consumer of nobarriers is removed by the commit [1] and sync
won't fail with EOPNOTSUPP anymore. Thus, now when write cache is write
through it just return success without actually transpiring such a
request to the block device/lun.
[1]
commit b25de9d6da49b1a8760a89672283128aa8c78345
block: remove BIO_EOPNOTSUPP
And, as the device/lun write cache state may change dynamically saving
such as state won't help either. So deleting the member nobarriers.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.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 def39b5a8d9e..c7d0fbc915ca 100644 --- a/fs/btrfs/volumes.h +++ b/fs/btrfs/volumes.h @@ -123,7 +123,6 @@ struct btrfs_device { struct list_head resized_list; /* for sending down flush barriers */ - int nobarriers; struct bio *flush_bio; struct completion flush_wait; |