Re: [PATCH 2/2] loop: Add PF_LESS_THROTTLE to block/loop device thread.

2017-06-16 Thread Christoph Hellwig
why isn't loop using kthread_create_worker()? Why isn't the less throttle a flag to kthread_create_worker()? I hate all this open coding..

[PATCH 2/2] loop: Add PF_LESS_THROTTLE to block/loop device thread.

2017-06-15 Thread NeilBrown
When a filesystem is mounted from a loop device, writes are throttled by balance_dirty_pages() twice: once when writing to the filesystem and once when the loop_handle_cmd() writes to the backing file. This double-throttling can trigger positive feedback loops that create significant delays. The