fs/sync: Make sync() satisfy many requests with one invocation
sync with kernel common + some missing updates