{"push_id":1217726693,"size":1,"distinct_size":1,"ref":"refs/heads/cm-13.0","head":"0c881d4c76aa63061f0ddc4f3d8d2d8dbfc0f539","before":"c6a23fcc35aa9847d53d1de42d57f3d46b60e76e","commits":[{"sha":"0c881d4c76aa63061f0ddc4f3d8d2d8dbfc0f539","author":{"name":"Jan Kara","email":"7bb7087018cc5fef3c041f6f038f586664845dbf@suse.cz"},"message":"writeback: Fix occasional slow sync(1)\n\nIn case when system contains no dirty pages, wakeup_flusher_threads()\nwill submit WB_SYNC_NONE writeback for 0 pages so wb_writeback() exits\nimmediately without doing anything. Thus sync(1) will write all the\ndirty inodes from a WB_SYNC_ALL writeback pass which is slow.\n\nFix the problem by using get_nr_dirty_pages() in\nwakeup_flusher_threads() instead of calculating number of dirty pages\nmanually. That function also takes number of dirty inodes into account.\n\nCC: stable@vger.kernel.org\nReported-by: Paul Taysom <taysom@chromium.org>\nSigned-off-by: Jan Kara <jack@suse.cz>\nSigned-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>\nSigned-off-by: flar2 <asegaert@gmail.com>","distinct":true,"url":"https://api.github.com/repos/ShieldKteam/shield_osprey/commits/0c881d4c76aa63061f0ddc4f3d8d2d8dbfc0f539"}]}
{"actor":{"display_login":"Ander-Alvarez"}}