+17
−17
+3
−3
+25
−25
+6
−6
+89
−21
Loading
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:Tim Murray <timmurray@google.com> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org>