Re: [PATCH] md: Call blk_queue_flush() to establish flush/fua support

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Neil Brown
Date: Monday, November 22, 2010 - 4:50 pm

On Mon, 22 Nov 2010 15:22:08 -0800
"Darrick J. Wong" <djwong@us.ibm.com> wrote:


I would rather just unconditionally call
   blk_queue_flush(mddev->queue, REQ_FLUSH | REQ_FUA);

I don't think there is much to be gained by trying to track exactly what the
underlying devices support, and as the devices can change, that is racy
anyway.

Thoughts?

NeilBrown





--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] md: Call blk_queue_flush() to establish flush/ ..., Neil Brown, (Mon Nov 22, 4:50 pm)