-
- Downloads
writeback: separate starting of sync vs opportunistic writeback
bdi_start_writeback() is currently split into two paths, one for
WB_SYNC_NONE and one for WB_SYNC_ALL. Add bdi_sync_writeback()
for WB_SYNC_ALL writeback and let bdi_start_writeback() handle
only WB_SYNC_NONE.
Push down the writeback_control allocation and only accept the
parameters that make sense for each function. This cleans up
the API considerably.
Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
Showing
- fs/fs-writeback.c 67 additions, 65 deletionsfs/fs-writeback.c
- fs/ubifs/budget.c 3 additions, 17 deletionsfs/ubifs/budget.c
- include/linux/backing-dev.h 1 addition, 1 deletioninclude/linux/backing-dev.h
- include/linux/writeback.h 2 additions, 2 deletionsinclude/linux/writeback.h
- mm/page-writeback.c 2 additions, 10 deletionsmm/page-writeback.c
Loading
Please register or sign in to comment