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

2016-05-10 Thread Paolo
Il 10/05/2016 23:34, Jeff Moyer ha scritto: Paolo Valente writes: diff --git a/block/bio.c b/block/bio.c index 807d25e..e9b136a 100644 --- a/block/bio.c +++ b/block/bio.c @@ -622,6 +622,8 @@ struct bio *bio_clone_fast(struct bio *bio, gfp_t gfp_mask, struct bio_set *bs) }

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

2016-05-10 Thread Jeff Moyer
Paolo Valente writes: > diff --git a/block/bio.c b/block/bio.c > index 807d25e..e9b136a 100644 > --- a/block/bio.c > +++ b/block/bio.c > @@ -622,6 +622,8 @@ struct bio *bio_clone_fast(struct bio *bio, gfp_t > gfp_mask, struct bio_set *bs) > } > } > > + bio_clone_blkcg_a

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

2016-05-10 Thread Tejun Heo
On Tue, May 10, 2016 at 11:02:12PM +0200, 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 gr