On Mon, Jun 23, 2014 at 03:37:03PM -0400, Martin K. Petersen wrote: > >>>>> "Lars" == Lars Ellenberg <lars.ellenberg@xxxxxxxxxx> writes: > > Lars, > > Thanks for fixing this. > > I'd still like to see you use the lib call instead like you do for > zeroout. I have some patches in the pipeline for multi-range discard > support and things are going to break for drbd if you manually roll > bios. Okay, thanks for the heads up. I think we just did this so we would not have to use a synchronous interface there. We are receiving (from network) and submitting (to lower level IO stack) in the same context and would like the submit to be async. Do you intend to provide an asynchronous interface? Lars -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html