Per device dirty bytes configuration. Patch is not ideal, i'm make it for smoothly flash drive wriring by passing smaller value of dirty byte per removeable device.
>> Path
# ls /sys/block/sdc/bdi/
dirty_background_bytes dirty_background_ratio dirty_bytes dirty_ratio max_ratio min_pages_to_flush min_ratio power read_ahead_kb stable_pages_required subsystem uevent
Per device dirty bytes configuration. Patch is not ideal, i'm make it for smoothly flash drive wriring by passing smaller value of dirty byte per removeable device.
>> Path d_bytes dirty_backgroun d_ratio dirty_bytes dirty_ratio max_ratio min_pages_to_flush min_ratio power read_ahead_kb stable_ pages_required subsystem uevent
# ls /sys/block/sdc/bdi/
dirty_backgroun
>> udev Rule for removeables device rules.d/ 90-dirty- flash.rules ="add|change" , KERNEL=="sd[a-z]", ATTR{removable} =="1", ATTR{bdi/ dirty_bytes} ="4194304"
# cat /etc/udev/
ACTION=