Re: [dm-devel] [PATCH 1/1] dm-zoned: Zoned block device target

2017-02-09 Thread Damien Le Moal
Hannes, On 2/10/17 01:07, Hannes Reinecke wrote: >> +/* >> + * CRC32 >> + */ >> +static u32 dmz_sb_crc32(u32 crc, const void *buf, size_t length) >> +{ >> +unsigned char *p = (unsigned char *)buf; >> +int i; >> + >> +#define CRCPOLY_LE 0xedb88320 >> + >> +while (length--) { >> +

Re: [dm-devel] [PATCH 1/1] dm-zoned: Zoned block device target

2017-02-09 Thread Damien Le Moal
Mike, On 2/10/17 00:27, Mike Snitzer wrote: > Looks like this work has come a long way. While I am _still_ not > hearing from any customers (or partners) that SMR is a priority I do > acknowledge that that obviously isn't the case for WDC and others. > > So, I'll sign up for reviewing this DM

Re: [dm-devel] [PATCH 1/1] dm-zoned: Zoned block device target

2017-02-09 Thread Damien Le Moal
Christoph, On 2/9/17 18:36, Christoph Hellwig wrote: > On Thu, Feb 09, 2017 at 01:18:49PM +0900, Damien Le Moal wrote: >> + >> +/* >> + * Target BIO completion. >> + */ >> +static inline void dmz_bio_end(struct bio *bio, int err) >> +{ >> +struct dm_zone_bioctx *bioctx = >> +

Re: [dm-devel] [PATCH 1/1] dm-zoned: Zoned block device target

2017-02-09 Thread Mike Snitzer
On Wed, Feb 08 2017 at 11:18pm -0500, Damien Le Moal wrote: > The dm-zoned device mapper target provides transparent write access > to zoned block devices (ZBC and ZAC compliant block devices). > dm-zoned hides to the device user (a file system or an application > doing

Re: [dm-devel] [RFC PATCH v4] IV Generation algorithms for dm-crypt

2017-02-09 Thread Binoy Jayan
On 8 February 2017 at 13:02, Gilad Ben-Yossef wrote: > > Ran Bonnie++ on it last night (Luks mode, plain64, Qemu Virt platform > Arm64) and it works just fine. > > Tested-by: Gilad Ben-Yossef > Hi Gilad, Thank you for testing it. Do you have access to

Re: [dm-devel] [PATCH 1/1] dm-zoned: Zoned block device target

2017-02-09 Thread Christoph Hellwig
On Thu, Feb 09, 2017 at 01:18:49PM +0900, Damien Le Moal wrote: > + > +/* > + * Target BIO completion. > + */ > +static inline void dmz_bio_end(struct bio *bio, int err) > +{ > + struct dm_zone_bioctx *bioctx = > + dm_per_bio_data(bio, sizeof(struct dm_zone_bioctx)); > + > + if