Re: [PATCH 08/41] udf: Switch to generic_buffers_fsync()

Christoph Hellwig <[email protected]> Mon, 23 Mar 2026 22:38:09 -0700
Newsgroups gmane.comp.file-systems.ext4,gmane.linux.file-systems,gmane.linux.block,gmane.linux.kernel.mm,gmane.linux.kernel.aio.general
Message-ID <[email protected]>
On Fri, Mar 20, 2026 at 02:41:03PM +0100, Jan Kara wrote:
> UDF uses metadata bh list attached to inode. Switch it to
> generic_buffers_fsync() instead of generic_file_fsync().

Can you explain this a bit more?  Right now the only difference between
generic_file_fsync and generic_buffers_fsync is that the former takes
i_rwsem and the other does not.  I'd expect the commit log to explain
why dropping the lock is safe and desirable.

Same for the other similar patches.