diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2009-04-08 14:07:57 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-06 10:37:56 +0300 |
commit | 6d6cb0d688d0f262cb4fd5771648b0ac01d4f82c (patch) | |
tree | b4e0f50358029650f0047ffe1f9c48e24c420584 /fs/ubifs/shrinker.c | |
parent | 091438dd5668396328a3419abcbc6591159eb8d1 (diff) | |
download | blackbird-op-linux-6d6cb0d688d0f262cb4fd5771648b0ac01d4f82c.tar.gz blackbird-op-linux-6d6cb0d688d0f262cb4fd5771648b0ac01d4f82c.zip |
UBIFS: reset no_space flag after inode deletion
When UBIFS runs out of space it spends a lot of time trying to
find more space before returning ENOSPC. As there is no point
repeating that unless something has changed, UBIFS has an
optimization to record that the file system is 100% full and not
try to find space. That flag was not being reset when a pending
deletion was finally done.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Reviewed-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/shrinker.c')
0 files changed, 0 insertions, 0 deletions