Thread (63 messages) 63 messages, 9 authors, 2024-07-25

Re: [PATCH 14/26] block: move the nonrot flag to queue_limits

From: Christoph Hellwig <hch@lst.de>
Date: 2024-07-25 13:00:26
Also in: ceph-devel, dm-devel, linux-bcache, linux-block, linux-m68k, linux-mmc, linux-nvme, linux-raid, linux-s390, linux-scsi, linux-um, nvdimm, virtualization, xen-devel

On Thu, Jul 25, 2024 at 01:35:46PM +0200, Wouter Verhelst wrote:
NBD actually exports a flag for rotational devices; it's defined in
nbd.h in the NBD userland source as

#define NBD_FLAG_ROTATIONAL     (1 << 4)        /* Use elevator algorithm - rotational media */

which is passed in the same flags field which also contains the
NBD_FLAG_SEND_FLUSH and NBD_FLAG_SEND_FUA flags.

Perhaps we might want to look at that flag and set the device to
rotational if it is specified?
Yes, that sounds good.  Can you send a patch?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help