OSDN Git Service

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)
commitadfb5fb46af059387eca0fce1d8cd8733f9ee3a0
tree7bb34bbb28698eeb8c7e9ab37114dd1e81045a51
parenta247373596677bd38a88fcaf1606be51a44c614d
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