UBI: allow direct user-space I/O
authorSidney Amani <seed@uffs.org>
Tue, 27 Jan 2009 09:11:46 +0000 (10:11 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Jul 2009 13:04:18 +0000 (16:04 +0300)
commit2e2dd2cc05ef6cf6dc49aea1ba6a5a71f3bb345d
tree8808e33e713088a40b2bed4a8ee54f0173bc95a2
parentebccd2dd2e56fc2a0db5b594ececb76cccfd2c7e
UBI: allow direct user-space I/O

Introduce a new ioctl UBI_IOCSETPROP to set properties
on a volume. Also add the first property:
UBI_PROP_DIRECT_WRITE, this property is used to set the
ability to use direct writes in userspace

Signed-off-by: Sidney Amani <seed@uffs.org>
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/Kconfig.debug
drivers/mtd/ubi/cdev.c
drivers/mtd/ubi/ubi.h
include/mtd/ubi-user.h