[dm-devel] [PATCH] multipath-tools: amend text from multipath/multipath.conf.5

2017-03-28 Thread Xose Vazquez Perez
Cc: Christophe Varoqui Cc: device-mapper development Signed-off-by: Xose Vazquez Perez --- multipath/multipath.conf.5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multipath/multipath.conf.5 b/multipath/multipath.conf.5 index 24decf7..5939688 100644 --- a/multipath/m

Re: [dm-devel] [PATCH 03/23] sd: implement REQ_OP_WRITE_ZEROES

2017-03-28 Thread Mike Snitzer
On Tue, Mar 28 2017 at 2:50pm -0400, Bart Van Assche wrote: > On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > > diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c > > index af632e350ab4..b6f70a09a301 100644 > > --- a/drivers/scsi/sd.c > > +++ b/drivers/scsi/sd.c > > @@ -748,7 +748,

Re: [dm-devel] dm: move dm_table_destroy() to same header as dm_table_create()

2017-03-28 Thread Mike Snitzer
On Tue, Mar 28 2017 at 2:31pm -0400, Brian Norris wrote: > If anyone is going to use dm_table_create(), they probably should be > able to use dm_table_destroy() too. Move the dm_table_destroy() > definition outside the private header, near dm_table_create() > > Signed-off-by: Brian Norris Not

Re: [dm-devel] [PATCH 03/23] sd: implement REQ_OP_WRITE_ZEROES

2017-03-28 Thread Bart Van Assche
On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c > index af632e350ab4..b6f70a09a301 100644 > --- a/drivers/scsi/sd.c > +++ b/drivers/scsi/sd.c > @@ -748,7 +748,7 @@ static int sd_setup_unmap_cmnd(struct scsi_cmnd *cmd) > return s

Re: [dm-devel] [PATCH 23/23] block: remove the discard_zeroes_data flag

2017-03-28 Thread Bart Van Assche
On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > Now that we use the proper REQ_OP_WRITE_ZEROES operation everywhere we can > kill this hack. > > [ ... ] > > diff --git a/Documentation/ABI/testing/sysfs-block > b/Documentation/ABI/testing/sysfs-block > index 2da04ce6aeef..dea212db9df

Re: [dm-devel] [PATCH 11/23] block_dev: use blkdev_issue_zerout for hole punches

2017-03-28 Thread Bart Van Assche
On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > This gets us support for non-discard efficient write of zeroes (e.g. NVMe) > and preparse for removing the discard_zeroes_data flag. Hello Christoph, "preparse" probably should have been "prepare"? Thanks, Bart. -- dm-devel mailing

[dm-devel] [PATCH] dm-raid: select the config option CONFIG_MD_RAID0

2017-03-28 Thread Mikulas Patocka
Since the commit 0cf4503174c1, the dm-raid subsystem can activate a RAID-0 array. Therefore, add MD_RAID0 to the dependencies of DM_RAID, so that MD_RAID0 will be selected when DM_RAID is selected. Signed-off-by: Mikulas Patocka Fixes: 0cf4503174c1 ("dm raid: add support for the MD RAID0 personal

Re: [dm-devel] [PATCH 12/23] sd: handle REQ_UNMAP

2017-03-28 Thread Bart Van Assche
On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > Try to use a write same with unmap bit variant if the device supports it > and the caller asks for it. > > Signed-off-by: Christoph Hellwig > --- > drivers/scsi/sd.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git

Re: [dm-devel] [multipath-tools] [BUG] segfault in uev_update_path

2017-03-28 Thread Benjamin Marzinski
On Thu, Mar 23, 2017 at 09:17:14AM +, Shichangkuo wrote: >Hi, all > >    I used multipath-toosl 0.6.4 for some testing. When executing udevadm >trigger command, I find something wrong with multipathd. Logs are as >follows: > >Mar 15 19:26:00 server155 multipathd

Re: [dm-devel] [PATCH 01/23] block: renumber REQ_OP_WRITE_ZEROES

2017-03-28 Thread Bart Van Assche
On Thu, 2017-03-23 at 10:33 -0400, Christoph Hellwig wrote: > Make life easy for implementations that needs to send a data buffer > to the device (e.g. SCSI) by numbering it as a data out command. > > Signed-off-by: Christoph Hellwig > --- > include/linux/blk_types.h | 2 +- > 1 file changed, 1