Re: [dm-devel] [PATCH 05/26] block: add blk_alloc_disk and blk_cleanup_disk APIs

From
Christoph Hellwig <hch@lst.de>
Date
2021-05-24 07:24:20
Also in
dm-devel, linux-bcache, linux-block, linux-m68k, linux-mmc, linux-nvme, linux-s390, linuxppc-dev, nvdimm
Reply to
Luis Chamberlain, 2021-05-21
On Fri, May 21, 2021 at 05:44:07PM +0000, Luis Chamberlain wrote:
Its not obvious to me why using this new API requires you then to
set minors explicitly to 1, and yet here underneath we see the minors
argument passed is 0.

Nor is it clear from the documentation.
Basically for all new drivers no one should set minors at all, and the
dynamic dev_t mechanism does all the work.  For converted old drivers
minors is set manually instead of being passed an an argument that
should be 0 for all new drivers.
Thread (76 messages) 76 messages, 8 authors, last reply 2021-06-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help