summaryrefslogtreecommitdiffstats
path: root/fs/fuse
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-11-19 10:53:15 +0100
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-11-21 17:59:33 +0100
commit3477d204658733aa3a87d3ae03b0327c1e599517 (patch)
tree1c9ba659f76c09a19b98f4bcbfac6fc67db43112 /fs/fuse
parentUBIFS: do not allocate too much (diff)
downloadlinux-3477d204658733aa3a87d3ae03b0327c1e599517.tar.xz
linux-3477d204658733aa3a87d3ae03b0327c1e599517.zip
UBIFS: pre-allocate bulk-read buffer
To avoid memory allocation failure during bulk-read, pre-allocate a bulk-read buffer, so that if there is only one bulk-reader at a time, it would just use the pre-allocated buffer and would not do any memory allocation. However, if there are more than 1 bulk- reader, then only one reader would use the pre-allocated buffer, while the other reader would allocate the buffer for itself. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/fuse')
0 files changed, 0 insertions, 0 deletions