Thread (22 messages) 22 messages, 6 authors, 2017-02-08

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

From: Christoph Hellwig <hch@infradead.org>
Date: 2017-02-01 09:50:13

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 patch we add other users referencing
backing_dev_info.
Do we really need the separate slab cache?  Otherwise this looks
fine to me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help