• M
    dm mpath: support discard · 959eb4e5
    Mike Snitzer 提交于
    Enable discard support in the DM multipath target.
    
    This discard support depends on a few discard-specific fixes to the
    block layer's request stacking driver methods.
    
    Discard requests are optional so don't allow a failed discard to trigger
    path failures.  If there is a real problem with a given path the
    barriers associated with the discard (either before or after the
    discard) will cause path failure.  That said, unconditionally passing
    discard failures up the stack is not ideal.  This must be fixed once DM
    has more information about the nature of the underlying storage failure.
    Signed-off-by: NMike Snitzer <snitzer@redhat.com>
    Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
    Cc: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
    959eb4e5
dm-mpath.c 39.1 KB