Re: [uml-devel] [PATCH] Update UBD to use pread/pwrite family of functions

2015-11-24 Thread Anton Ivanov
On 23/11/15 22:24, Richard Weinberger wrote: > On Fri, Nov 20, 2015 at 7:47 PM, Anton Ivanov > wrote: >> Hi list, hi Richard. >> >> Have you had time to review this one? I think it is not contentious - it >> is something QEMU has been doing for a very long time now. It also gives >> a measurable s

Re: [uml-devel] [PATCH] Update UBD to use pread/pwrite family of functions

2015-11-23 Thread Richard Weinberger
On Fri, Nov 20, 2015 at 7:47 PM, Anton Ivanov wrote: > Hi list, hi Richard. > > Have you had time to review this one? I think it is not contentious - it > is something QEMU has been doing for a very long time now. It also gives > a measurable speed up, especially for random IO. > > I am going to h

Re: [uml-devel] [PATCH] Update UBD to use pread/pwrite family of functions

2015-11-20 Thread Anton Ivanov
Hi list, hi Richard. Have you had time to review this one? I think it is not contentious - it is something QEMU has been doing for a very long time now. It also gives a measurable speed up, especially for random IO. I am going to hold off on the rest of the ubd patches because they bulk up the

Re: [uml-devel] [PATCH] Update UBD to use pread/pwrite family of functions

2015-11-08 Thread Anton Ivanov
I am going to send in a couple of more which bulk-up the transactions (this forms most of the improvement) later this week. This one is obvious - qemu has been using it for ages. A. On 08/11/15 15:20, Anton Ivanov wrote: > This decreases the number of syscalls per read/write by half. > > Signed

[uml-devel] [PATCH] Update UBD to use pread/pwrite family of functions

2015-11-08 Thread Anton Ivanov
This decreases the number of syscalls per read/write by half. Signed-off-by: Anton Ivanov --- arch/um/drivers/ubd_kern.c | 27 +-- arch/um/include/shared/os.h | 2 ++ arch/um/os-Linux/file.c | 19 +++ 3 files changed, 26 insertions(+), 22 deletions(-