Re: [PATCH v4 0/6] Add alignment check for DAX mount

2016-05-20 Thread Kani, Toshimitsu
On Fri, 2016-05-20 at 17:34 +, Verma, Vishal L wrote: > On Fri, 2016-05-20 at 14:50 +, Kani, Toshimitsu wrote: > > On Thu, 2016-05-19 at 18:37 -0500, Eric Sandeen wrote: > > > On 5/10/16 11:23 AM, Toshi Kani wrote: > > > >  > > > > When a partition is not aligned by 4KB, mount -o dax succee

Re: [PATCH v4 0/6] Add alignment check for DAX mount

2016-05-20 Thread Verma, Vishal L
On Fri, 2016-05-20 at 14:50 +, Kani, Toshimitsu wrote: > On Thu, 2016-05-19 at 18:37 -0500, Eric Sandeen wrote: > > > > On 5/10/16 11:23 AM, Toshi Kani wrote: > > > > > > > > > When a partition is not aligned by 4KB, mount -o dax succeeds, > > Sorry for being late, but - > > > > Shouldn't t

Re: [PATCH v4 0/6] Add alignment check for DAX mount

2016-05-20 Thread Kani, Toshimitsu
On Thu, 2016-05-19 at 18:37 -0500, Eric Sandeen wrote: > On 5/10/16 11:23 AM, Toshi Kani wrote: > > > > When a partition is not aligned by 4KB, mount -o dax succeeds, > > Sorry for being late, but - > > Shouldn't this and all subsequent patch commits refer to > PAGE_SIZE, rather than "4kB?" Righ

Re: [PATCH v4 0/6] Add alignment check for DAX mount

2016-05-19 Thread Eric Sandeen
On 5/10/16 11:23 AM, Toshi Kani wrote: > When a partition is not aligned by 4KB, mount -o dax succeeds, Sorry for being late, but - Shouldn't this and all subsequent patch commits refer to PAGE_SIZE, rather than "4kB?" -Eric

Re: [PATCH v4 0/6] Add alignment check for DAX mount

2016-05-11 Thread Carlos Maiolino
On Tue, May 10, 2016 at 10:23:51AM -0600, Toshi Kani wrote: > When a partition is not aligned by 4KB, mount -o dax succeeds, > but any read/write access to the filesystem fails, except for > metadata update. Add alignment check to ext4, ext2, and xfs. > > - Patch 1-2 add bdev_dax_supported() whic

[PATCH v4 0/6] Add alignment check for DAX mount

2016-05-10 Thread Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Add alignment check to ext4, ext2, and xfs. - Patch 1-2 add bdev_dax_supported() which performs all the checks necessary for dax mount. - Patch 3-5 chang