[dm-devel] [PATCH] dm_crypt: Issue all previous bios before remapping barrier bio

Milan Broz mbroz at redhat.com
Mon Feb 1 15:39:42 UTC 2010


On 02/01/2010 04:19 PM, Nikanth Karthikesan wrote:
> Before remapping a barrier bio, make sure that there are no un-issued
> pending I/O in the workqueue. Otherwise a dm_flush would simply add
> a barrier request to the underlying device, without issuing the bio's
> queued in the dm_crypt device.

This should not be needed. Core dm code waits for all bios submitted before
barrier requests.

Mikulas, could you verify it?

Milan




More information about the dm-devel mailing list