Skip to content
Commit e4544b63 authored by Tim Murray's avatar Tim Murray Committed by Jaegeuk Kim
Browse files

f2fs: move f2fs to use reader-unfair rwsems



f2fs rw_semaphores work better if writers can starve readers,
especially for the checkpoint thread, because writers are strictly
more important than reader threads. This prevents significant priority
inversion between low-priority readers that blocked while trying to
acquire the read lock and a second acquisition of the write lock that
might be blocking high priority work.

Signed-off-by: default avatarTim Murray <timmurray@google.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent dd81e1c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment