Thread (5 messages) 5 messages, 2 authors, 2025-06-17

Re: [PATCH 1/1] docs/vfs: update references to i_mutex to i_rwsem

From: Jan Kara <jack@suse.cz>
Date: 2025-06-17 10:01:46
Also in: linux-fsdevel, lkml

On Mon 16-06-25 11:21:17, Junxuan Liao wrote:

On 6/16/25 5:10 AM, Jan Kara wrote:
quoted
Otherwise the changes look good to me.
Thanks! Just for clarification, is the __d_move comment accurate? i.e.
Does it assume the two i_rwsem's are locked in shared mode?
Currently, both i_rwsems are expected to be held exclusively in this case.
Generally anything modifying directory contents must be holding i_rwsem of
that directory exclusively. However note that this is subject to change at
least in some cases with the work Neil Brown is doing [1].

								Honza

[1] https://lore.kernel.org/linux-fsdevel/20250609075950.159417-1-neil@brown.name/ (local)
-- 
Jan Kara [off-list ref]
SUSE Labs, CR
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help