Re: [dm-devel] [PATCH 05/13] fs: remove the unused error argument to dio_end_io()

2017-05-30 Thread David Sterba
On Fri, May 26, 2017 at 11:56:12AM +0300, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig > Reviewed-by: Bart Van Assche For the btrfs bits Acked-by: David Sterba -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel

Re: [dm-devel] [PATCH v2 04/11] crypto: move drbg to generic async completion

2017-05-30 Thread Stephan Müller
Am Montag, 29. Mai 2017, 10:22:51 CEST schrieb Gilad Ben-Yossef: Hi Gilad, > DRBG is starting an async. crypto op and waiting for it complete. > Move it over to generic code doing the same. > > The code now also passes CRYPTO_TFM_REQ_MAY_SLEEP flag indicating > crypto request memory allocation m

[dm-devel] [PATCH v2 11/11] crypto: adapt api sample to use async. op wait

2017-05-30 Thread Gilad Ben-Yossef
The code sample is waiting for an async. crypto op completion. Adapt sample to use the new generic infrastructure to do the same. This also fixes a possible data coruption bug created by the use of wait_for_completion_interruptible() without dealing correctly with an interrupt aborting the wait pr

Re: [dm-devel] dedicated error codes for the block layer V2

2017-05-30 Thread David Sterba
On Fri, May 26, 2017 at 11:56:07AM +0300, Christoph Hellwig wrote: > This series introduces a new blk_status_t error code type for the block > layer so that we can have tigher control and explicit semantics for > block layer errors. > > All but the last three patches are cleanups that lead to the

Re: [dm-devel] [PATCH v2 3/8] blk-mq: use the introduced blk_mq_unquiesce_queue()

2017-05-30 Thread Bart Van Assche
On Sat, 2017-05-27 at 22:21 +0800, Ming Lei wrote: > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -3030,7 +3030,10 @@ scsi_internal_device_unblock(struct scsi_device *sdev, > return -EINVAL; > > if (q->mq_ops) { > - blk_mq_start_stopped_hw_que

Re: [dm-devel] [PATCH 0/4] dm: zoned block device fixes

2017-05-30 Thread Mike Snitzer
On Mon, May 29 2017 at 6:23P -0400, Damien Le Moal wrote: > Mike, > > The first 3 patches of this series are incremental fixes for the zoned block > device support patches that you committed to the for-4.13/dm branch. > > The first patch correct the zone alignement checks so that the check is

Re: [dm-devel] [PATCH 0/4] dm: zoned block device fixes

2017-05-30 Thread Damien Le Moal
Mike, On 5/31/17 05:20, Mike Snitzer wrote: > On Mon, May 29 2017 at 6:23P -0400, > Damien Le Moal wrote: > >> Mike, >> >> The first 3 patches of this series are incremental fixes for the zoned block >> device support patches that you committed to the for-4.13/dm branch. >> >> The first patch c