diff options
author | Jens Axboe <axboe@kernel.dk> | 2017-09-30 02:09:06 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-10-04 11:24:12 -0600 |
commit | 85009b4f5f0399669a44f07cb9a5622c0e71d419 (patch) | |
tree | 9aa95947a827cf53f7d48cf187b99fa4f03411d2 /Documentation/ABI/obsolete | |
parent | fc13457f74dcf054b0d17efb7b94b46fdf17f412 (diff) | |
download | blackbird-obmc-linux-85009b4f5f0399669a44f07cb9a5622c0e71d419.tar.gz blackbird-obmc-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/ABI/obsolete')
0 files changed, 0 insertions, 0 deletions