Re: [PATCH AUTOSEL 6.14 29/54] null_blk: replace null_process_cmd() call in null_zone_write()

From: Sasha Levin
Date: Sun Apr 13 2025 - 20:12:28 EST


On Fri, Apr 04, 2025 at 03:31:03AM +0000, Shinichiro Kawasaki wrote:
On Apr 03, 2025 / 15:01, Sasha Levin wrote:
From: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx>

[ Upstream commit 4f235000b1e88934d1e6117dc43ed814710ef4e2 ]

As a preparation to support partial data transfer due to badblocks,
replace the null_process_cmd() call in null_zone_write() with equivalent
calls to null_handle_badblocks() and null_handle_memory_backed(). This
commit does not change behavior. It will enable null_handle_badblocks()
to return the size of partial data transfer in the following commit,
allowing null_zone_write() to move write pointers appropriately.

Hello Sasha, I don't think this patch should be in stable kernels, since it
just refactors code as a preparation for another patch. I suggest to drop it
for all stable kernels.

I'll drop it, thanks!

--
Thanks,
Sasha