diff options
author | Tejun Heo <tj@kernel.org> | 2015-05-23 00:13:24 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-06-02 17:33:34 +0300 |
commit | 1d933cf096e3aea15f1aec8297657b7a846fab63 (patch) | |
tree | 43ac4eff222da7ef5c873259462d906f9e3f9a7b /fs/freevxfs/vxfs_dir.h | |
parent | fd383c2d3cae146337cea809de0d622b8b887e6c (diff) | |
download | linux-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