Re: [PATCH v2] scsi: target: Allow FUA if no write cache enabled
From: Martin K. Petersen
Date: Thu Apr 30 2026 - 11:44:05 EST
Stuart,
> Without this patch, accesses with FUA set will be rejected, even
> though they always go directly to the media when there's no write
> cache.
The spec allows this. However, ...
> This is needed because EDK2 FAT filesystem code sets the FUA bit when
> writing, regardless of whether the device advertises support of
> DPOFUA.
^^^ that is clearly a spec violation. What is being done to address this
issue?
Also, wrt. the patch itself, please see:
https://sashiko.dev/#/patchset/20260428203938.9738-1-stuart.w.hayes%40gmail.com
--
Martin K. Petersen