summaryrefslogtreecommitdiff
path: root/fs/freevxfs/vxfs_dir.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2015-05-23 00:13:24 +0300
committerJens Axboe <axboe@fb.com>2015-06-02 17:33:34 +0300
commit1d933cf096e3aea15f1aec8297657b7a846fab63 (patch)
tree43ac4eff222da7ef5c873259462d906f9e3f9a7b /fs/freevxfs/vxfs_dir.h
parentfd383c2d3cae146337cea809de0d622b8b887e6c (diff)
downloadlinux-1d933cf096e3aea15f1aec8297657b7a846fab63.tar.xz
blkcg: implement bio_associate_blkcg()
Currently, a bio can only be associated with the io_context and blkcg of %current using bio_associate_current(). This is too restrictive for cgroup writeback support. Implement bio_associate_blkcg() which associates a bio with the specified blkcg. bio_associate_blkcg() leaves the io_context unassociated. bio_associate_current() is updated so that it considers a bio as already associated if it has a blkcg_css, instead of an io_context, associated with it. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/freevxfs/vxfs_dir.h')
0 files changed, 0 insertions, 0 deletions