xfs
[Top] [All Lists]

Re: [PATCH] xfs: in _attrlist_by_handle, copy the cursor back to userspa

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH] xfs: in _attrlist_by_handle, copy the cursor back to userspace
From: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Date: Tue, 2 Aug 2016 16:57:32 -0700
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160802154035.GI8590@xxxxxxxxxxxxxxxx>
References: <20160802035651.GB8593@xxxxxxxxxxxxxxxx> <20160802122517.GD31492@xxxxxxxxxxxxx> <20160802154035.GI8590@xxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.24 (2015-08-30)
On Tue, Aug 02, 2016 at 08:40:35AM -0700, Darrick J. Wong wrote:
> On Tue, Aug 02, 2016 at 05:25:17AM -0700, Christoph Hellwig wrote:
> > On Mon, Aug 01, 2016 at 08:56:51PM -0700, Darrick J. Wong wrote:
> > > When we're iterating inode xattrs by handle, we have to copy the
> > > cursor back to userspace so that a subsequent invocation actually
> > > retrieves subsequent contents.
> > 
> > Testcase?
> 
> Found it while continuing development of xfs_scrub.  I'll send along the
> xfstest patch when I've finished polishing it.  (It was harder than usual 
> since
> xfs_io doesn't /use/ the attr-by-handle interface... nothing does.)

Found some extra time while I run all of today's rmap changes through QA
to push to Dave, so I fixed (I hope) the remaining problems I had and
sent out a testcase.

--D

> 
> --D
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>