From: Artem Bityutskiy Date: Wed, 29 Aug 2007 11:51:52 +0000 (+0300) Subject: UBI: do not use vmalloc on I/O path X-Git-Tag: v2.6.24-rc1~1324^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e88d6e10e5c848fd5be8f89e09e3bce2570886b7;p=pandora-kernel.git UBI: do not use vmalloc on I/O path Similar reason as in case of the previous patch: it causes deadlocks if a filesystem with writeback support works on top of UBI. So pre-allocate needed buffers when attaching MTD device. We also need mutexes to protect the buffers, but they do not cause much contantion because they are used in recovery, torture, and WL copy routines, which are called seldom. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed