[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aTDmYXli5gDjgcgp@bombadil.infradead.org>
Date: Wed, 3 Dec 2025 17:39:45 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: sw.prabhu6@...il.com
Cc: James.Bottomley@...senpartnership.com, martin.petersen@...cle.com,
linux-scsi@...r.kernel.org, bvanassche@....org,
linux-kernel@...r.kernel.org, kernel@...kajraghav.com,
Swarna Prabhu <s.prabhu@...sung.com>,
Pankaj Raghav <p.raghav@...sung.com>
Subject: Re: [RFC v2 1/2] scsi: sd: fix write_same16 and write_same10 for
sector size > PAGE_SIZE
On Wed, Dec 03, 2025 at 11:05:46PM +0000, sw.prabhu6@...il.com wrote:
> From: Swarna Prabhu <sw.prabhu6@...il.com>
>
> The WRITE SAME(16) and WRITE SAME(10) scsi commands uses
> a page from a dedicated mempool('sd_page_pool') for its
> payload. This pool was initialized to allocate single
> pages, which was sufficient as long as the device sector
> size did not exceed the PAGE_SIZE.
>
> Given that block layer now supports block size upto
> 64K ie beyond PAGE_SIZE, adapt sd_set_special_bvec()
> to accommodate that.
>
> With the above fix, enable sector sizes > PAGE_SIZE in
> scsi sd driver.
>
> Signed-off-by: Swarna Prabhu <s.prabhu@...sung.com>
> Co-developed-by: Pankaj Raghav <p.raghav@...sung.com>
> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
Just missing the Cc stable # v6.15 tag. Other than that:
Reviewed-by: Luis Chamberlain <mcgrof@...nel.org>
Luis
Powered by blists - more mailing lists