Quantcast
Viewing all articles
Browse latest Browse all 1267

Re: [RFC PATCH 3/3] fs: detect that the i_rwsem has already been t ...

Linus Torvalds writes: (Summary) One adds a VFS-layer filesystem method that most filesystems end up not really needing (it's the same as the regular read), and other filesystems end up then having hacks with ("oh, I don't need to take this lock because it was already taken by the caller"). The advantage is that now most filesystems don't actually need to care any more (and the filesystems that used to care now check that flag). That just avoids the problem entirely, and doesn't require anybody to ever care about i_sem semantic changes, because i_sem semantics simply didn't change at all.

Viewing all articles
Browse latest Browse all 1267

Trending Articles