Re: [PATCH v2] btrfs: submit superblock io with REQ_META and REQ_PRIO
From: Josef Bacik <josef@toxicpanda.com>
Date: 2017-08-21 17:31:58
From: Josef Bacik <josef@toxicpanda.com>
Date: 2017-08-21 17:31:58
On Mon, Aug 21, 2017 at 05:42:27PM +0200, David Sterba wrote:
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. Signed-off-by: David Sterba <dsterba@suse.com>
Reviewed-by: Josef Bacik <redacted> Thanks, Josef