Skip to content
Snippets Groups Projects
Commit 6f25dd1c authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm: respect REQ_NOWAIT flag in normal bios issued to DM


Update DM core's normal IO submission to allocate required memory
using GFP_NOWAIT if REQ_NOWAIT is set.

Tested with simple test provided in commit a9ce3853 ("dm: don't
attempt to queue IO under RCU protection") that was enhanced to check
error codes.  Also tested using fio's pvsync2 with nowait=1.

But testing with induced GFP_NOWAIT allocation failures wasn't
performed (yet).

Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
parent 4a2fe296
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment