> On Nov 30, 2016, at 8:42 PM, Damien Le Moal <damien.lemoal@xxxxxxx> wrote: > > > Jens, > > On 12/1/16 12:03, Jens Axboe wrote: >>> Martin, Shaun and myself agreed on the restriction. All ZBC/ZAC disks on >>> the market today match these so there are no problems. And it is >>> unlikely that we will ever see weirdly sized SMR drives (customers >>> generally do not want that). >> >> I'm fine with that, my only concern is that part_zone_aligned() assumes >> this, and it's a bit fragile. If we remove the power-of-2 restriction. >> Not sure what the best way to fix it is. Ideally it'd have a >> WARN_ON_ONCE() and a fallback to a modulo calculation instead of the >> AND. > > I can have a crack at it. Should I resubmit a new version ? That'd be great, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html