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 ? -- Damien Le Moal, Ph.D. Sr. Manager, System Software Research Group, Western Digital Corporation Damien.LeMoal@xxxxxxx (+81) 0466-98-3593 (ext. 513593) 1 kirihara-cho, Fujisawa, Kanagawa, 252-0888 Japan www.wdc.com, www.hgst.com -- 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