mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-01 18:21:29 +00:00
gfs2: Stop using glock holder auto-demotion for now
We're having unresolved issues with the glock holder auto-demotion mechanism introduced in commitdc732906c2. This mechanism was assumed to be essential for avoiding frequent short reads and writes until commit296abc0d91("gfs2: No short reads or writes upon glock contention"). Since then, when the inode glock is lost, it is simply re-acquired and the operation is resumed. This means that apart from the performance penalty, we might as well drop the inode glock before faulting in pages, and re-acquire it afterwards. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
parent
fa5dfa645d
commit
e1fa9ea85c
1 changed files with 14 additions and 32 deletions
Loading…
Add table
Add a link
Reference in a new issue