linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] xfs: Remove wrappers for some semaphores
@ 2020-02-06 19:04 Pavel Reichl
  2020-02-06 19:04 ` [PATCH v3 1/4] xfs: Refactor xfs_isilocked() Pavel Reichl
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Pavel Reichl @ 2020-02-06 19:04 UTC (permalink / raw)
  To: linux-xfs

Remove some wrappers that we have in XFS around the read-write semaphore
locks.

The goal of this cleanup is to remove mrlock_t structure and its mr*()
wrapper functions and replace it with native rw_semaphore type and its
native calls.

Pavel Reichl (4):
  xfs: Refactor xfs_isilocked()
  xfs: Fix WS in xfs_isilocked() calls
  xfs: Fix bug when checking diff. locks
  xfs: Replace mrlock_t by rw_semaphore

 fs/xfs/libxfs/xfs_bmap.c |  8 ++--
 fs/xfs/mrlock.h          | 78 -----------------------------------
 fs/xfs/xfs_file.c        |  3 +-
 fs/xfs/xfs_inode.c       | 87 +++++++++++++++++++++++++---------------
 fs/xfs/xfs_inode.h       |  8 ++--
 fs/xfs/xfs_iops.c        |  4 +-
 fs/xfs/xfs_linux.h       |  1 -
 fs/xfs/xfs_qm.c          |  2 +-
 fs/xfs/xfs_super.c       |  6 +--
 9 files changed, 72 insertions(+), 125 deletions(-)
 delete mode 100644 fs/xfs/mrlock.h

-- 
2.24.1


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

end of thread, other threads:[~2020-02-07 19:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 19:04 [PATCH v3 0/4] xfs: Remove wrappers for some semaphores Pavel Reichl
2020-02-06 19:04 ` [PATCH v3 1/4] xfs: Refactor xfs_isilocked() Pavel Reichl
2020-02-06 19:05 ` [PATCH v3 2/4] xfs: Fix WS in xfs_isilocked() calls Pavel Reichl
2020-02-06 19:05 ` [PATCH v3 3/4] xfs: Fix bug when checking diff. locks Pavel Reichl
2020-02-07 19:25   ` Eric Sandeen
2020-02-07 19:30     ` Darrick J. Wong
2020-02-06 19:05 ` [PATCH v3 4/4] xfs: Replace mrlock_t by rw_semaphore Pavel Reichl

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).