I've seen inode related deadlocks, so move this call outside of the
actor itself, which may hold the inode lock.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
* accessed, we are now done!
*/
mark_page_accessed(page);
- balance_dirty_pages_ratelimited(mapping);
out:
page_cache_release(page);
unlock_page(page);
if (err)
ret = err;
}
+ balance_dirty_pages_ratelimited(mapping);
}
return ret;
if (err)
ret = err;
}
+ balance_dirty_pages_ratelimited(mapping);
}
return ret;