linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] xfs-4.19: fixes & cleanups
@ 2018-07-18 15:50 Darrick J. Wong
  2018-07-18 15:50 ` [PATCH 1/8] xfs: check leaf attribute block freemap in verifier Darrick J. Wong
                   ` (7 more replies)
  0 siblings, 8 replies; 30+ messages in thread
From: Darrick J. Wong @ 2018-07-18 15:50 UTC (permalink / raw)
  To: darrick.wong; +Cc: linux-xfs

Hi all,

Here's a series of bugfixes and cleanups for 4.19.

The first patch enhances the extended attribute leaf block checks to
sanitize the freemap.  This is essential to prevent asserts on totally
garbage freemap info from taking the fs down during an xattr update.

The second patch ensures that we always return from xfs_defer_finish
with a clean transaction so that any new work added to the transaction
after that does not overflow the reservation.

The next two patches clean up xfs_btree_del_cursor usage.  Callers can
pass negative error numbers into the function to signal a full btree
cursor buffer cleanup so they do not need to use ternary expressions to
select XFS_BTREE_{NO,}ERROR.

The four patches after that shorten name prefixes in the online fsck
code.  The xfs_scrub_* functions are shortened to xchk_*; the
xfs_repair_* functions become xrep_*; struct xfs_scrub_context becomes
struct xfs_scrub; and the final patch of the series cleans up all the
whitespace and indenting problems.  That last patch I did by hand; the
first three were mechanical changes with simple sed scripts.

Comments and questions are, as always, welcome.

--D

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

end of thread, other threads:[~2018-07-20 16:53 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 15:50 [PATCH 0/8] xfs-4.19: fixes & cleanups Darrick J. Wong
2018-07-18 15:50 ` [PATCH 1/8] xfs: check leaf attribute block freemap in verifier Darrick J. Wong
2018-07-19 12:19   ` Carlos Maiolino
2018-07-19 12:24   ` Brian Foster
2018-07-19 15:20     ` Darrick J. Wong
2018-07-19 15:25   ` [PATCH v2 " Darrick J. Wong
2018-07-19 15:30     ` Brian Foster
2018-07-19 15:46     ` Carlos Maiolino
2018-07-19 16:40     ` Christoph Hellwig
2018-07-18 15:50 ` [PATCH 2/8] xfs: return from _defer_finish with a clean transaction Darrick J. Wong
2018-07-19 12:24   ` Brian Foster
2018-07-19 16:41   ` Christoph Hellwig
2018-07-18 15:50 ` [PATCH 3/8] xfs: trivial xfs_btree_del_cursor cleanups Darrick J. Wong
2018-07-19 12:24   ` Brian Foster
2018-07-19 12:25   ` Carlos Maiolino
2018-07-19 16:43   ` Christoph Hellwig
2018-07-19 19:22     ` Darrick J. Wong
2018-07-20 16:04       ` Christoph Hellwig
2018-07-18 15:50 ` [PATCH 4/8] xfs: clean up xfs_btree_del_cursor callers Darrick J. Wong
2018-07-19 12:24   ` Brian Foster
2018-07-19 12:28   ` Carlos Maiolino
2018-07-19 16:46   ` Christoph Hellwig
2018-07-18 15:51 ` [PATCH 5/8] xfs: shorten xfs_scrub_ prefix Darrick J. Wong
2018-07-19 12:59   ` Brian Foster
2018-07-18 15:51 ` [PATCH 6/8] xfs: shorten xfs_repair_ prefix to xrep_ Darrick J. Wong
2018-07-19 12:59   ` Brian Foster
2018-07-18 15:52 ` [PATCH 7/8] xfs: shorten struct xfs_scrub_context to struct xfs_scrub Darrick J. Wong
2018-07-19 12:59   ` Brian Foster
2018-07-18 15:52 ` [PATCH 8/8] xfs: fix indentation and other whitespace problems in scrub/repair Darrick J. Wong
2018-07-19 12:59   ` Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).