“ca8b7a2760be58670ad9388fddc99a1f4bb0d88a”上不存在“projects/micropython”
nvme: only reconfigure discard if necessary
Currently nvme reconfigures discard for every disk revalidation. This is problematic because any O_WRONLY or O_RDWR open will trigger a partition scan through udev/systemd, and we will reconfigure discard. This blows away any user settings, like discard_max_bytes. Only re-configure the user settable settings if we need to. Signed-off-by: NJens Axboe <axboe@kernel.dk> [removed redundant queue flag setting] Signed-off-by: NKeith Busch <keith.busch@intel.com>
Showing
想要评论请 注册 或 登录