• D
    md: Call blk_queue_flush() to establish flush/fua support · be20e6c6
    Darrick J. Wong 提交于
    Before 2.6.37, the md layer had a mechanism for catching I/Os with the
    barrier flag set, and translating the barrier into barriers for all
    the underlying devices.  With 2.6.37, I/O barriers have become plain
    old flushes, and the md code was updated to reflect this.  However,
    one piece was left out -- the md layer does not tell the block layer
    that it supports flushes or FUA access at all, which results in md
    silently dropping flush requests.
    
    Since the support already seems there, just add this one piece of
    bookkeeping.
    Signed-off-by: NDarrick J. Wong <djwong@us.ibm.com>
    Signed-off-by: NNeilBrown <neilb@suse.de>
    be20e6c6
md.c 190.2 KB