Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451311

Re: [PATCH BUGFIX V5] block: add missing group association in bio-cloning functions

From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH BUGFIX V5] block: add missing group association in bio-cloning functions
Date 2016-07-27 16:50 +0200
Message-ID <rZyjM-F9-3@gated-at.bofh.it> (permalink)
References <rZdIl-4pd-7@gated-at.bofh.it> <rZpzP-3Eu-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/26/2016 11:22 PM, Paolo Valente wrote:
> When a bio is cloned, the newly created bio must be associated with
> the same blkcg as the original bio (if BLK_CGROUP is enabled). If
> this operation is not performed, then the new bio is not associated
> with any group, and the group of the current task is returned when
> the group of the bio is requested.
>
> Depending on the cloning frequency, this may cause a large
> percentage of the bios belonging to a given group to be treated
> as if belonging to other groups (in most cases as if belonging to
> the root group). The expected group isolation may thereby be broken.
>
> This commit adds the missing association in bio-cloning functions.

Added for 4.8, thanks.

-- 
Jens Axboe

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH BUGFIX V4] block: add missing group association in bio-cloning functions Paolo Valente <paolo.valente@linaro.org> - 2016-07-26 18:50 +0200
  Re: [PATCH BUGFIX V4] block: add missing group association in  bio-cloning functions kbuild test robot <lkp@intel.com> - 2016-07-26 19:10 +0200
  [PATCH BUGFIX V5] block: add missing group association in bio-cloning functions Paolo Valente <paolo.valente@linaro.org> - 2016-07-27 07:30 +0200
    Re: [PATCH BUGFIX V5] block: add missing group association in  bio-cloning functions Jens Axboe <axboe@kernel.dk> - 2016-07-27 16:50 +0200

csiph-web