Thread (104 messages) 104 messages, 9 authors, 2024-06-17

Re: [PATCH 03/26] loop: stop using loop_reconfigure_limits in __loop_clr_fd

From: Christoph Hellwig <hch@lst.de>
Date: 2024-06-11 05:54:57
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 Tue, Jun 11, 2024 at 02:53:19PM +0900, Damien Le Moal wrote:
quoted
+	/* reset the block size to the default */
+	lim = queue_limits_start_update(lo->lo_queue);
+	lim.logical_block_size = 512;
Nit: SECTOR_SIZE ? maybe ?
Yes.  I was following the existing code, but SECTOR_SIZE is probably
a better choice here.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help