Revision cece552074c591970353ad48308d65f110aeaf28 authored by Ryusuke Konishi on 07 April 2009, 02:01:58 UTC, committed by Linus Torvalds on 07 April 2009, 15:31:20 UTC
will reduce some lines of segment constructor.  Previously, the state was
complexly controlled through a list of segments in order to keep
consistency in meta data of usage state of segments.  Instead, this
presents ``calculated'' active flags to userland cleaner program and stop
maintaining its real flag on disk.

Only by this fake flag, the cleaner cannot exactly know if each segment is
reclaimable or not.  However, the recent extension of nilfs_sustat ioctl
struct (nilfs2-extend-nilfs_sustat-ioctl-struct.patch) can prevent the
cleaner from reclaiming in-use segment wrongly.

So, now I can apply this for simplification.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c96fa46
History
File Mode Size
Makefile -rw-r--r-- 384 bytes
compat.c -rw-r--r-- 17.0 KB
compat_mq.c -rw-r--r-- 4.0 KB
ipc_sysctl.c -rw-r--r-- 6.9 KB
ipcns_notifier.c -rw-r--r-- 2.2 KB
mq_sysctl.c -rw-r--r-- 2.8 KB
mqueue.c -rw-r--r-- 30.6 KB
msg.c -rw-r--r-- 20.8 KB
msgutil.c -rw-r--r-- 2.8 KB
namespace.c -rw-r--r-- 3.4 KB
sem.c -rw-r--r-- 33.9 KB
shm.c -rw-r--r-- 25.7 KB
util.c -rw-r--r-- 22.9 KB
util.h -rw-r--r-- 5.1 KB

back to top