Re: [PATCH 02/17] block: introduce bio_remove_last_page()

2017-02-16 Thread Johannes Thumshirn
On 02/16/2017 02:59 PM, Ming Lei wrote: > On Thu, Feb 16, 2017 at 9:40 PM, Johannes Thumshirn > wrote: >> On 02/16/2017 02:30 PM, Ming Lei wrote: >>> On Thu, Feb 16, 2017 at 8:08 PM, Johannes Thumshirn >>> wrote: On 02/16/2017 12:45 PM, Ming Lei wrote: > MD need this helper to remove t

Re: [PATCH 02/17] block: introduce bio_remove_last_page()

2017-02-16 Thread Ming Lei
On Thu, Feb 16, 2017 at 9:40 PM, Johannes Thumshirn wrote: > On 02/16/2017 02:30 PM, Ming Lei wrote: >> On Thu, Feb 16, 2017 at 8:08 PM, Johannes Thumshirn >> wrote: >>> On 02/16/2017 12:45 PM, Ming Lei wrote: MD need this helper to remove the last added page, so introduce it. >>>

Re: [PATCH 02/17] block: introduce bio_remove_last_page()

2017-02-16 Thread Johannes Thumshirn
On 02/16/2017 02:30 PM, Ming Lei wrote: > On Thu, Feb 16, 2017 at 8:08 PM, Johannes Thumshirn > wrote: >> On 02/16/2017 12:45 PM, Ming Lei wrote: >>> MD need this helper to remove the last added page, so introduce >>> it. >>> >>> Signed-off-by: Ming Lei >>> --- >>> block/bio.c | 23

Re: [PATCH 02/17] block: introduce bio_remove_last_page()

2017-02-16 Thread Ming Lei
On Thu, Feb 16, 2017 at 8:08 PM, Johannes Thumshirn wrote: > On 02/16/2017 12:45 PM, Ming Lei wrote: >> MD need this helper to remove the last added page, so introduce >> it. >> >> Signed-off-by: Ming Lei >> --- >> block/bio.c | 23 +++ >> include/linux/bio.h | 1 + >

Re: [PATCH 02/17] block: introduce bio_remove_last_page()

2017-02-16 Thread Johannes Thumshirn
On 02/16/2017 12:45 PM, Ming Lei wrote: > MD need this helper to remove the last added page, so introduce > it. > > Signed-off-by: Ming Lei > --- > block/bio.c | 23 +++ > include/linux/bio.h | 1 + > 2 files changed, 24 insertions(+) > > diff --git a/block/bio.c b/