[PATCH RESEND v2 12/26] selftests/proc: check that a faulting writer doesn't hold up removal

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 5 11:49:30 PST 2026


> Write to /proc/scsi/scsi_debug/<host> from a buffer whose page is backed
> by userfaultfd and remove the host while procfs copies in what is
> written:
> 
> - removing the entry doesn't wait for the writer
> 
> - the write fails with -EIO once the fault is resolved
> 
> The test loads scsi_debug if it isn't there and skips without it or
> without /proc/scsi.
> 
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261104-work-procfs-drivers-v2-0-245e54e87116@kernel.org?part=12




More information about the kexec mailing list