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.
↧