Re: [PATCH v5 0/3] Remove the XFS mrlock
From: Dave Chinner
Date: Mon Jan 15 2024 - 22:07:48 EST
On Thu, Jan 11, 2024 at 09:24:21PM +0000, Matthew Wilcox (Oracle) wrote:
> XFS has an mrlock wrapper around the rwsem which adds only the
> functionality of knowing whether the rwsem is currently held in read
> or write mode. Both regular rwsems and rt-rwsems know this, they just
> don't expose it as an API. By adding that, we can remove the XFS mrlock
> as well as improving the debug assertions for the mmap_lock when lockdep
> is disabled.
>
> I have an ack on the first patch from Peter, so I would like to see this
> merged through the XFS tree since most of what it touches is XFS.
With the minor nits that have already been noticed fix up, the whole
series looks good to me.
Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
--
Dave Chinner
david@xxxxxxxxxxxxx