[osv-dev] Re: [PATCH] Fix slow write/append to files on ramfs

2019-05-21 Thread Waldek Kozaczuk
This patch depends on other patch "Make RAMFS not to free file data when file is still opened" that I send almost a week ago and happens to touch same source files. On Tuesday, May 21, 2019 at 11:11:31 PM UTC-4, Waldek Kozaczuk wrote: > > This patch improves performance and memory utilization >

[osv-dev] [PATCH] Fix slow write/append to files on ramfs

2019-05-21 Thread Waldemar Kozaczuk
This patch improves performance and memory utilization when writing/appending to files on ramfs. Before this patch every write to a file when size needed to increase required allocating bigger buffer and copying all data from the old one to the new one. This especially applied to any type of log f