nvme: add nvme_core.debug_large_atomics to force high awun as phys_bs
A drive with atomic write support should have awun / nawun defined,
for these drives it should be possible to play with and experiment
safely with large atomics support up to awun / nawun settings if you are
completely ignoring power failure situations. Add support to
experiment with this. The rationale to limit to awun / nawun is
to avoid races with other on flight commands which otherwise
could cause unexpected results.
This also means this debug module parameter feature is not supported
if your drive does not support atomics / awun / nawun. Use a taint
flag in case this debug module parameter is used.
Example usage: nvme_core.debug_large_atomics=16384
Suggested-by: Dan Helmick <dan.helmick@samsung.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 file changed