On Thu, Oct 17, 2019 at 11:38:07AM -0600, Keith Busch wrote: > On 10/17/19, 1:40 AM, "Kevin Hao" wrote: > > + unsigned int offset = bv->bv_offset % dev->ctrl.page_size; > > Can we do this without the modulo in the io path? The page_size is a power of > 2, so this should work: > > unsigned int offset = bv->bv_offset & (dev->ctrl.page_size - 1); Sure. V2 is coming soon. Thanks, Kevin