mbox series

[0/2] xfs: defer ops idiotproofing

Message ID 154083754598.16857.4909403030667946114.stgit@magnolia (mailing list archive)
Headers show
Series xfs: defer ops idiotproofing | expand

Message

Darrick J. Wong Oct. 29, 2018, 6:25 p.m. UTC
Hi all,

Here are a couple of idiotproofing fixes for the kernel.  We forgot to
port the defered AGFL free stuff to xfsprogs, which lead to sporadic
crashes in xfs_repair... way back in 4.18. :(

To prevent a recurrence, we now require the libxfs client to export the
(currently five) defer_ops type structures so that we can link the whole
mess together at build time instead of dynamically assembling the types
at run time.

The second patch removes now-unnecessary fields from the defer ops type
structure and streamlines some of the xfs_defer.c code.

Comments and questions are, as always, welcome.

--D