]> www.infradead.org Git - users/hch/block.git/commit
bdi: remove BDI_CAP_CGROUP_WRITEBACK
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Jul 2020 07:10:33 +0000 (09:10 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:29:18 +0000 (08:29 +0200)
commit1ea9249c0d5859a503811713fe58125ec1a98aaf
treecd643d94e35e2751ecb01f72ad76368055500bfa
parent5d5c62b61fef43f8f17d059c8a1fd9332f9e52a0
bdi: remove BDI_CAP_CGROUP_WRITEBACK

Just checking SB_I_CGROUPWB for cgroup writeback support is enough.
Either the file system allocates its own bdi (e.g. btrfs), in which case
it is known to support cgroup writeback, or the bdi comes from the block
layer, which always supports cgroup writeback.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
block/blk-core.c
fs/btrfs/disk-io.c
include/linux/backing-dev.h