public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] nfsrahead: fix uninitialised memory crash and refine fast-path logging
@ 2026-03-09 14:50 Aaron Tomlin
  2026-03-09 14:50 ` [PATCH 1/2] nfsrahead: zero-initialise device_info struct Aaron Tomlin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Aaron Tomlin @ 2026-03-09 14:50 UTC (permalink / raw)
  To: steved, tbecker; +Cc: yi.zhang, linux-nfs

Hi Steve, Yi,

This series addresses two issues stemming from the recent fast-path
optimisation used to reject non-NFS block devices, which were caught during
blktests.

    1.  [PATCH 1/2] fixes the glibc abort(3) by explicitly
        zero-initialising the device_info struct. This prevents the cleanup
        path from attempting to free uninitialised stack memory when the
        fast-path triggers an early exit.

    2.  [PATCH 2/2] updates the error handling in main() to log a
        descriptive debug message rather than a general error when a device
        is intentionally skipped, preventing misleading udev journal spam.

Aaron Tomlin (2):
  nfsrahead: zero-initialise device_info struct
  nfsrahead: quieten misleading error for non-NFS block devices

 tools/nfsrahead/main.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2026-03-12 12:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 14:50 [PATCH 0/2] nfsrahead: fix uninitialised memory crash and refine fast-path logging Aaron Tomlin
2026-03-09 14:50 ` [PATCH 1/2] nfsrahead: zero-initialise device_info struct Aaron Tomlin
2026-03-09 14:50 ` [PATCH 2/2] nfsrahead: quieten misleading error for non-NFS block devices Aaron Tomlin
2026-03-11  8:27 ` [PATCH 0/2] nfsrahead: fix uninitialised memory crash and refine fast-path logging Yi Zhang
2026-03-11 16:11   ` Steve Dickson
2026-03-11 19:45   ` Aaron Tomlin
2026-03-12 12:50 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox