limit write_queue size in char_device
Submitted by Victor Toso
Assigned to Victor Toso
Description
This bug is a complement of https://bugs.freedesktop.org/show_bug.cgi?id=91350
While doing file transfer using webdav, it is possible to reach huge amount of memory usage on write-queue.
We should introduce a limit to the ring size.
Example in #91350 When transferring 320 MB file, the write-queue reached 240 MB.