Re: [PATCH 3/4] block: Dynamically allocate and refcount backing_dev_info

2017-02-02 Thread Jan Kara
On Wed 01-02-17 14:45:20, Jens Axboe wrote: > On 02/01/2017 04:22 AM, Jan Kara wrote: > > On Wed 01-02-17 01:50:07, Christoph Hellwig wrote: > >> On Tue, Jan 31, 2017 at 01:54:28PM +0100, Jan Kara wrote: > >>> Instead of storing backing_dev_info inside struct request_queue, > >>> allocate it

Re: [PATCH 3/4] block: Dynamically allocate and refcount backing_dev_info

2017-02-01 Thread Jens Axboe
On 02/01/2017 04:22 AM, Jan Kara wrote: > On Wed 01-02-17 01:50:07, Christoph Hellwig wrote: >> On Tue, Jan 31, 2017 at 01:54:28PM +0100, Jan Kara wrote: >>> Instead of storing backing_dev_info inside struct request_queue, >>> allocate it dynamically, reference count it, and free it when the last

Re: [PATCH 3/4] block: Dynamically allocate and refcount backing_dev_info

2017-02-01 Thread Jan Kara
On Wed 01-02-17 01:50:07, Christoph Hellwig wrote: > On Tue, Jan 31, 2017 at 01:54:28PM +0100, Jan Kara wrote: > > Instead of storing backing_dev_info inside struct request_queue, > > allocate it dynamically, reference count it, and free it when the last > > reference is dropped. Currently only

Re: [PATCH 3/4] block: Dynamically allocate and refcount backing_dev_info

2017-02-01 Thread Christoph Hellwig
On Tue, Jan 31, 2017 at 01:54:28PM +0100, Jan Kara wrote: > Instead of storing backing_dev_info inside struct request_queue, > allocate it dynamically, reference count it, and free it when the last > reference is dropped. Currently only request_queue holds the reference > but in the following

Re: [PATCH 3/4] block: Dynamically allocate and refcount backing_dev_info

2017-01-26 Thread Dan Williams
On Thu, Jan 26, 2017 at 9:45 AM, Jan Kara wrote: > Instead of storing backing_dev_info inside struct request_queue, > allocate it dynamically, reference count it, and free it when the last > reference is dropped. Currently only request_queue holds the reference > but in the

[PATCH 3/4] block: Dynamically allocate and refcount backing_dev_info

2017-01-26 Thread Jan Kara
Instead of storing backing_dev_info inside struct request_queue, allocate it dynamically, reference count it, and free it when the last reference is dropped. Currently only request_queue holds the reference but in the following patch we add other users referencing backing_dev_info. Signed-off-by: