]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: centralize setting REQ_META
authorChristoph Hellwig <hch@lst.de>
Thu, 26 May 2022 07:36:39 +0000 (09:36 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Jul 2022 15:45:33 +0000 (17:45 +0200)
commitc704758e4df77532f528842d0125d5c48a5a13b4
treede969b77410d45115dd6a5bd10806e80b9e33e8e
parent812c21f0891ca9d2d47045beea4dc42562a37084
btrfs: centralize setting REQ_META

Set REQ_META in btrfs_submit_metadata_bio instead of the various callers.
We'll start relying on this flag inside of btrfs in a bit, and this
ensures it is always set correctly.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c