Re: [PATCH 3/3] ioctl_xfs_ioc_getfsmap.2: document XFS_IOC_GETFSMAP ioctl

2016-09-11 Thread Darrick J. Wong
On Sat, Sep 10, 2016 at 10:00:29AM +1000, Dave Chinner wrote: > On Thu, Sep 08, 2016 at 11:07:16PM -0700, Darrick J. Wong wrote: > > On Fri, Sep 09, 2016 at 09:38:06AM +1000, Dave Chinner wrote: > > > On Tue, Aug 30, 2016 at 12:09:49PM -0700, Darrick J. Wong wrote: > > > > > I recall for FIEMAP

Re: [PATCH 3/3] ioctl_xfs_ioc_getfsmap.2: document XFS_IOC_GETFSMAP ioctl

2016-09-09 Thread Dave Chinner
On Thu, Sep 08, 2016 at 11:07:16PM -0700, Darrick J. Wong wrote: > On Fri, Sep 09, 2016 at 09:38:06AM +1000, Dave Chinner wrote: > > On Tue, Aug 30, 2016 at 12:09:49PM -0700, Darrick J. Wong wrote: > > > > I recall for FIEMAP that some filesystems may not have files aligned > > > > to sector

Re: [PATCH 3/3] ioctl_xfs_ioc_getfsmap.2: document XFS_IOC_GETFSMAP ioctl

2016-09-09 Thread Darrick J. Wong
On Fri, Sep 09, 2016 at 09:38:06AM +1000, Dave Chinner wrote: > On Tue, Aug 30, 2016 at 12:09:49PM -0700, Darrick J. Wong wrote: > > > I recall for FIEMAP that some filesystems may not have files aligned > > > to sector offsets, and we just used byte offsets. Storage like > > > NVDIMMs are

Re: [PATCH 3/3] ioctl_xfs_ioc_getfsmap.2: document XFS_IOC_GETFSMAP ioctl

2016-09-08 Thread Dave Chinner
On Tue, Aug 30, 2016 at 12:09:49PM -0700, Darrick J. Wong wrote: > > I recall for FIEMAP that some filesystems may not have files aligned > > to sector offsets, and we just used byte offsets. Storage like > > NVDIMMs are cacheline granular, so I don't think it makes sense to > > tie this to old

Re: [PATCH 3/3] ioctl_xfs_ioc_getfsmap.2: document XFS_IOC_GETFSMAP ioctl

2016-08-30 Thread Darrick J. Wong
[add a few more relevant lists to cc] On Mon, Aug 29, 2016 at 03:34:11PM -0600, Andreas Dilger wrote: > On Aug 25, 2016, at 5:26 PM, Darrick J. Wong wrote: > > > > Document the new XFS_IOC_GETFSMAP ioctl that returns the physical > > layout of a (disk-based) filesystem.