diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-09-30 10:09:06 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-04 19:24:12 +0200 |
commit | 85009b4f5f0399669a44f07cb9a5622c0e71d419 (patch) | |
tree | 9aa95947a827cf53f7d48cf187b99fa4f03411d2 /Documentation/smsc_ece1099.txt | |
parent | blk-mq: document the need to have STARTED and COMPLETED share a byte (diff) | |
download | linux-85009b4f5f0399669a44f07cb9a5622c0e71d419.tar.xz linux-85009b4f5f0399669a44f07cb9a5622c0e71d419.zip |
writeback: eliminate work item allocation in bd_start_writeback()
Handle start-all writeback like we do periodic or kupdate
style writeback - by marking the bdi_writeback as needing a full
flush, and simply waking the thread. This eliminates the need to
allocate and queue a specific work item just for this purpose.
After this change, we truly only ever have one of them running at
any point in time. We mark the need to start all flushes, and the
writeback thread will clear it once it has processed the request.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/smsc_ece1099.txt')
0 files changed, 0 insertions, 0 deletions