• Tim Murray's avatar
    f2fs: move f2fs to use reader-unfair rwsems · e4544b63
    Tim Murray authored
    
    
    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>
    e4544b63
inline.c 18.7 KB