Re: [dm-devel] [PATCH v3 06/26] block: Add bio_end_sector()

2012-10-02 Thread Kent Overstreet
On Tue, Oct 02, 2012 at 02:10:01PM -0400, Vivek Goyal wrote: > On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: > > [..] > > diff --git a/include/linux/bio.h b/include/linux/bio.h > > index 4e32be1..d985e90 100644 > > --- a/include/linux/bio.h > > +++ b/include/linux/bio.h > > @@

Re: [dm-devel] [PATCH v3 06/26] block: Add bio_end_sector()

2012-10-02 Thread Vivek Goyal
On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: [..] > diff --git a/include/linux/bio.h b/include/linux/bio.h > index 4e32be1..d985e90 100644 > --- a/include/linux/bio.h > +++ b/include/linux/bio.h > @@ -67,6 +67,7 @@ > #define bio_offset(bio)

Re: [dm-devel] [PATCH v3 06/26] block: Add bio_end_sector()

2012-10-02 Thread Vivek Goyal
On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: [..] diff --git a/include/linux/bio.h b/include/linux/bio.h index 4e32be1..d985e90 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -67,6 +67,7 @@ #define bio_offset(bio) bio_iovec((bio))-bv_offset

Re: [dm-devel] [PATCH v3 06/26] block: Add bio_end_sector()

2012-10-02 Thread Kent Overstreet
On Tue, Oct 02, 2012 at 02:10:01PM -0400, Vivek Goyal wrote: On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: [..] diff --git a/include/linux/bio.h b/include/linux/bio.h index 4e32be1..d985e90 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -67,6 +67,7

Re: [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-26 Thread Lars Ellenberg
On Tue, Sep 25, 2012 at 03:06:24PM -0700, Kent Overstreet wrote: > On Tue, Sep 25, 2012 at 01:54:52PM +0200, Lars Ellenberg wrote: > > On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: > > > Just a little convenience macro - main reason to add it now is preparing > > > for immutable

Re: [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-26 Thread Lars Ellenberg
On Tue, Sep 25, 2012 at 03:06:24PM -0700, Kent Overstreet wrote: On Tue, Sep 25, 2012 at 01:54:52PM +0200, Lars Ellenberg wrote: On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: Just a little convenience macro - main reason to add it now is preparing for immutable bio

Re: [Drbd-dev] [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-25 Thread Kent Overstreet
On Tue, Sep 25, 2012 at 01:54:52PM +0200, Lars Ellenberg wrote: > On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: > > Just a little convenience macro - main reason to add it now is preparing > > for immutable bio vecs, it'll reduce the size of the patch that puts > >

Re: [Drbd-dev] [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-25 Thread Lars Ellenberg
On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: > Just a little convenience macro - main reason to add it now is preparing > for immutable bio vecs, it'll reduce the size of the patch that puts > bi_sector/bi_size/bi_idx into a struct bvec_iter. For the DRBD part: > diff --git

Re: [Drbd-dev] [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-25 Thread Lars Ellenberg
On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: Just a little convenience macro - main reason to add it now is preparing for immutable bio vecs, it'll reduce the size of the patch that puts bi_sector/bi_size/bi_idx into a struct bvec_iter. For the DRBD part: diff --git

Re: [Drbd-dev] [PATCH v3 06/26] block: Add bio_end_sector()

2012-09-25 Thread Kent Overstreet
On Tue, Sep 25, 2012 at 01:54:52PM +0200, Lars Ellenberg wrote: On Mon, Sep 24, 2012 at 03:34:46PM -0700, Kent Overstreet wrote: Just a little convenience macro - main reason to add it now is preparing for immutable bio vecs, it'll reduce the size of the patch that puts

[PATCH v3 06/26] block: Add bio_end_sector()

2012-09-24 Thread Kent Overstreet
Just a little convenience macro - main reason to add it now is preparing for immutable bio vecs, it'll reduce the size of the patch that puts bi_sector/bi_size/bi_idx into a struct bvec_iter. Signed-off-by: Kent Overstreet CC: Jens Axboe CC: Lars Ellenberg CC: Jiri Kosina CC: Alasdair Kergon

[PATCH v3 06/26] block: Add bio_end_sector()

2012-09-24 Thread Kent Overstreet
Just a little convenience macro - main reason to add it now is preparing for immutable bio vecs, it'll reduce the size of the patch that puts bi_sector/bi_size/bi_idx into a struct bvec_iter. Signed-off-by: Kent Overstreet koverstr...@google.com CC: Jens Axboe ax...@kernel.dk CC: Lars Ellenberg