[PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-10-15 Thread Kent Overstreet
A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was changed because that one's looping over the original bio, not the bounce bio - since

[PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-10-15 Thread Kent Overstreet
A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was changed because that one's looping over the original bio, not the bounce bio - since

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Kent Overstreet
On Thu, Sep 20, 2012 at 05:27:06PM -0700, Tejun Heo wrote: > On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: > > A bunch of what __blk_queue_bounce() was doing was problematic for the > > immutable bvec work; this cleans that up and the code is quite a bit > > smaller, too. > > >

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Kent Overstreet
On Thu, Sep 20, 2012 at 05:25:55PM -0700, Tejun Heo wrote: > Hello, Kent. > > On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: > > A bunch of what __blk_queue_bounce() was doing was problematic for the > > immutable bvec work; this cleans that up and the code is quite a bit > >

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Tejun Heo
On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: > A bunch of what __blk_queue_bounce() was doing was problematic for the > immutable bvec work; this cleans that up and the code is quite a bit > smaller, too. > > The __bio_for_each_segment() in copy_to_high_bio_irq() was changed >

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Tejun Heo
Hello, Kent. On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: > A bunch of what __blk_queue_bounce() was doing was problematic for the > immutable bvec work; this cleans that up and the code is quite a bit > smaller, too. > > The __bio_for_each_segment() in copy_to_high_bio_irq()

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Tejun Heo
Hello, Kent. On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Tejun Heo
On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was changed

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Kent Overstreet
On Thu, Sep 20, 2012 at 05:25:55PM -0700, Tejun Heo wrote: Hello, Kent. On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller,

Re: [PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-20 Thread Kent Overstreet
On Thu, Sep 20, 2012 at 05:27:06PM -0700, Tejun Heo wrote: On Mon, Sep 10, 2012 at 05:22:30PM -0700, Kent Overstreet wrote: A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The

[PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-10 Thread Kent Overstreet
A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was changed because that one's looping over the original bio, not the bounce bio - since

[PATCH v2 19/26] bounce: Refactor __blk_queue_bounce to not use bi_io_vec

2012-09-10 Thread Kent Overstreet
A bunch of what __blk_queue_bounce() was doing was problematic for the immutable bvec work; this cleans that up and the code is quite a bit smaller, too. The __bio_for_each_segment() in copy_to_high_bio_irq() was changed because that one's looping over the original bio, not the bounce bio - since