um: Update UBD to use pread/pwrite family of functions
authorAnton Ivanov <aivanov@brocade.com>
Mon, 21 Dec 2015 18:54:00 +0000 (18:54 +0000)
committerRichard Weinberger <richard@nod.at>
Sun, 10 Jan 2016 20:49:48 +0000 (21:49 +0100)
commit8c6157b6b30a765ec233a1be5f9446f24a5283de
tree81128a9f0252bd4075b6093cf5408eab19d45ce4
parent470a166e8c5a4da4be88545b1c4dde308abac5b2
um: Update UBD to use pread/pwrite family of functions

This decreases the number of syscalls per read/write by half.

Signed-off-by: Anton Ivanov <aivanov@brocade.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/ubd_kern.c
arch/um/include/shared/os.h
arch/um/os-Linux/file.c