Thread (32 messages) 32 messages, 5 authors, 2024-02-08

Re: [PATCH 05/14] block: add a max_user_discard_sectors queue limit

From: Christoph Hellwig <hch@lst.de>
Date: 2024-02-01 04:18:17
Also in: linux-block, linux-nvme

On Wed, Jan 31, 2024 at 05:36:18PM -0700, Keith Busch wrote:
quoted
+	q->limits.max_user_discard_sectors = max_discard_bytes >> SECTOR_SHIFT;
+	q->limits.max_discard_sectors =
+		min_not_zero(q->limits.max_hw_discard_sectors,
+			     q->limits.max_user_discard_sectors);
s/min_not_zero/min
Yes.  Fixed up right after when converting to the limits based update,
but this does create a bisection hazard as-is.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help