Re: [dm-devel] [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-21 Thread Julian Calaby
Hi Chaitanya, On Tue, Jan 19, 2021 at 5:01 PM Chaitanya Kulkarni wrote: > > Hi, > > This is a *compile only RFC* which adds a generic helper to initialize > the various fields of the bio that is repeated all the places in > file-systems, block layer, and drivers. > > The new helper allows

Re: [dm-devel] [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-21 Thread Chaitanya Kulkarni
On 1/20/21 7:01 PM, Julian Calaby wrote: > Hi Chaitanya, > > On Tue, Jan 19, 2021 at 5:01 PM Chaitanya Kulkarni > wrote: >> Hi, >> >> This is a *compile only RFC* which adds a generic helper to initialize >> the various fields of the bio that is repeated all the places in >> file-systems, block

Re: [dm-devel] [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-19 Thread Chaitanya Kulkarni
On 1/18/21 21:06, Chaitanya Kulkarni wrote: > Hi, > > This is a *compile only RFC* which adds a generic helper to initialize > the various fields of the bio that is repeated all the places in > file-systems, block layer, and drivers. > > The new helper allows callers to initialize various members

Re: [dm-devel] [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-19 Thread Josef Bacik
On 1/19/21 12:05 AM, Chaitanya Kulkarni wrote: Hi, This is a *compile only RFC* which adds a generic helper to initialize the various fields of the bio that is repeated all the places in file-systems, block layer, and drivers. The new helper allows callers to initialize various members such as

Re: [dm-devel] [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-19 Thread Mike Snitzer
On Tue, Jan 19 2021 at 12:05am -0500, Chaitanya Kulkarni wrote: > Hi, > > This is a *compile only RFC* which adds a generic helper to initialize > the various fields of the bio that is repeated all the places in > file-systems, block layer, and drivers. > > The new helper allows callers to

[dm-devel] [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-18 Thread Chaitanya Kulkarni
Hi, This is a *compile only RFC* which adds a generic helper to initialize the various fields of the bio that is repeated all the places in file-systems, block layer, and drivers. The new helper allows callers to initialize various members such as bdev, sector, private, end io callback, io