All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: pnfs/reflink fixes
@ 2018-01-18  7:42 Darrick J. Wong
  2018-01-18  7:42 ` [PATCH 1/2] xfs: reflink should break pnfs leases before sharing blocks Darrick J. Wong
  2018-01-18  7:42 ` [PATCH 2/2] xfs: try to unshare extents before granting pnfs leases Darrick J. Wong
  0 siblings, 2 replies; 6+ messages in thread
From: Darrick J. Wong @ 2018-01-18  7:42 UTC (permalink / raw)
  To: hch, darrick.wong; +Cc: linux-xfs

Hi all,

I was chasing a quota accounting bug in the reflink code and wondered
if we're supposed to call xfs_break_layouts before we start reflinking.
We do it for fallocate, and since the point of pnfs appears to be clients
(leased) unmediated access to the storage media, I would surmise that we
ought to be doing it.  So the first patch (tested only on xfstests and
not at all with pnfs) does that.

The second patch fixes the pnfs exporter to find and unshare blocks if
the client wants write access instead of just refusing.  I do not have
pnfs set up and and Know Nothing(tm) about pnfs, so I have no idea if
it behaves correctly. :P

--D

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-18 17:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-18  7:42 [PATCH 0/2] xfs: pnfs/reflink fixes Darrick J. Wong
2018-01-18  7:42 ` [PATCH 1/2] xfs: reflink should break pnfs leases before sharing blocks Darrick J. Wong
2018-01-18 14:26   ` Christoph Hellwig
2018-01-18  7:42 ` [PATCH 2/2] xfs: try to unshare extents before granting pnfs leases Darrick J. Wong
2018-01-18 14:15   ` Christoph Hellwig
2018-01-18 17:02     ` Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.