You need to sign in or sign up before continuing.
  • Mike Snitzer's avatar
    dm: respect REQ_NOWAIT flag in normal bios issued to DM · 6f25dd1c
    Mike Snitzer authored
    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>
    6f25dd1c
dm.c 81 KB