summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-18 18:16:25 +0200
committerDavid Sterba <dsterba@suse.com>2017-08-22 13:22:05 +0200
commitdb95c876c568cef951fbbd4c0118cb5386e4bb99 (patch)
treef222af5b05e1c3e0a11e1bd252604568138151f2 /fs/btrfs/volumes.h
parentbtrfs: remove unnecessary memory barrier in btrfs_direct_IO (diff)
downloadlinux-db95c876c568cef951fbbd4c0118cb5386e4bb99.tar.xz
linux-db95c876c568cef951fbbd4c0118cb5386e4bb99.zip
btrfs: submit superblock io with REQ_META and REQ_PRIO
The superblock is also metadata of the filesystem so the relevant IO should be tagged as such. We also tag it as high priority, as it's the last block committed for metadata from a given transaction. Any delays would effectively block the whole transaction, also blocking any other operation holding the device_list_mutex. Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions