Skip to contentSkip to conversation

nvme: update comment about invalid LBA size

PATCH In review John Garry 2 participants 2 messages Feb 27 NVMe

lore
Share & tools
lore

John Garry

author
#0 lore raw

PATCH 1/1 nvme: update comment about invalid LBA size

We have supported LBA size > PAGE_SIZE for some time now, so update the relevant comment in nvme_update_disk_info().

drivers/nvme/host/core.c +1 -2
index 3a2126584a236..c5ed0536b040a 100644
@@ -2085,8 +2085,7 @@ static bool nvme_update_disk_info(struct nvme_ns *ns, struct nvme_id_ns *id,
 	bool valid = true;
 
 	/*
-	 * The block layer can't support LBA sizes larger than the page size
-	 * or smaller than a sector size yet, so catch this early and don't
+	 * Catch LBA sizes which the block layer can't support early and don't
 	 * allow block I/O.
 	 */
 	if (blk_validate_block_size(bs)) {
Signature · 1 line
2.43.5