nvme: update comment about invalid LBA size
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().
Signed-off-by John Garry <[email protected]>
drivers/nvme/host/core.c +1 -2
@@ -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
Looks good:
Reviewed-by Christoph Hellwig <[email protected]>