]> Pileus Git - ~andy/linux/commit
NVMe: Implement Flush
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Tue, 22 Feb 2011 19:18:30 +0000 (14:18 -0500)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Fri, 4 Nov 2011 19:52:59 +0000 (15:52 -0400)
commit00df5cb4eb927078850086f8becc3286a69ea12e
tree891011b1387ead32520ce86e75032c11509b80ec
parentc42705592be2a539f3027b6f3907de8e8f9591a8
NVMe: Implement Flush

Linux implements Flush as a bit in the bio.  That means there may also be
data associated with the flush; if so the flush should be sent before the
data.  To avoid completing the bio twice, I add CMD_CTX_FLUSH to indicate
the completion routine should do nothing.

Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
drivers/block/nvme.c