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

Christoph Hellwig
2026-03-24T05:38:21Z

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.