Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/6] nfs_localio: fixes for races and errors from older compilers
@ 2025-04-30  4:01 NeilBrown
  2025-04-30  4:01 ` [PATCH 1/6] nfs_localio: use cmpxchg() to install new nfs_file_localio NeilBrown
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: NeilBrown @ 2025-04-30  4:01 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker, Mike Snitzer, Pali Rohár,
	Vincent Mailhol
  Cc: Chuck Lever, Jeff Layton, linux-nfs

Following the reports of older compilers complaining about the rcu
annotations in nfs-localio I reviewed the relevant code and found some
races and opportunities for simplification.

These patches address the various issues.  They compile with old and new
versions of gcc and don't introduce new sprase warnings.  I haven't
tested that localio, or even NFS, still work.

NeilBrown

 [PATCH 1/6] nfs_localio: use cmpxchg() to install new
 [PATCH 2/6] nfs_localio: always hold nfsd net ref with nfsd_file ref
 [PATCH 3/6] nfs_localio: simplify interface to nfsd for getting
 [PATCH 4/6] nfs_localio: change nfsd_file_put_local() to take a
 [PATCH 5/6] nfs_localio: duplicate nfs_close_local_fh()
 [PATCH 6/6] nfs_localio: protect race between nfs_uuid_put() and

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

end of thread, other threads:[~2025-04-30 22:21 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30  4:01 [PATCH 0/6] nfs_localio: fixes for races and errors from older compilers NeilBrown
2025-04-30  4:01 ` [PATCH 1/6] nfs_localio: use cmpxchg() to install new nfs_file_localio NeilBrown
2025-04-30 22:21   ` Mike Snitzer
2025-04-30  4:01 ` [PATCH 2/6] nfs_localio: always hold nfsd net ref with nfsd_file ref NeilBrown
2025-04-30  4:01 ` [PATCH 3/6] nfs_localio: simplify interface to nfsd for getting nfsd_file NeilBrown
2025-04-30  4:01 ` [PATCH 4/6] nfs_localio: change nfsd_file_put_local() to take a pointer to __rcu struct NeilBrown
2025-04-30  4:01 ` [PATCH 5/6] nfs_localio: duplicate nfs_close_local_fh() NeilBrown
2025-04-30  4:01 ` [PATCH 6/6] nfs_localio: protect race between nfs_uuid_put() and nfs_close_local_fh() NeilBrown
2025-04-30 17:34   ` Mike Snitzer
2025-04-30 20:20     ` Mike Snitzer
2025-04-30 22:16       ` NeilBrown
2025-04-30 22:12     ` NeilBrown

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