Thread (75 messages) 75 messages, 8 authors, 2021-06-07

Re: [dm-devel] [PATCH 14/26] md: convert to blk_alloc_disk/blk_cleanup_disk

From: Christoph Hellwig <hch@lst.de>
Date: 2021-05-24 07:26:47
Also in: linux-bcache, linux-block, linux-m68k, linux-mmc, linux-nvme, linux-raid, linux-s390, linuxppc-dev, nvdimm

On Sun, May 23, 2021 at 10:12:49AM +0200, Hannes Reinecke wrote:
quoted
+	blk_set_stacking_limits(&mddev->queue->limits);
  	blk_queue_write_cache(mddev->queue, true, true);
  	/* Allow extended partitions.  This makes the
  	 * 'mdp' device redundant, but we can't really
Wouldn't it make sense to introduce a helper 'blk_queue_from_disk()' or 
somesuch to avoid having to keep an explicit 'queue' pointer?
My rought plan is that a few series from now bio based drivers will
never directly deal with the request_queue at all.

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help