]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: implement cgroup aware writeback
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:30:22 +0000 (19:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 29 Jun 2019 02:30:22 +0000 (19:30 -0700)
commit05d53b9888501945b3a36bbc54f7a89e482853ab
tree7bb34bbb28698eeb8c7e9ab37114dd1e81045a51
parentdbbb108da7f0a7f29da25c2a9e16a008036787f3
xfs: implement cgroup aware writeback

Link every newly allocated writeback bio to cgroup pointed to by the
writeback control structure, and charge every byte written back to it.

Tested-by: Stefan Priebe - Profihost AG <s.priebe@profihost.ag>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_super.c