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.