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
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.4 KB |
Kconfig.iosched | -rw-r--r-- | 1.9 KB |
Makefile | -rw-r--r-- | 582 bytes |
as-iosched.c | -rw-r--r-- | 38.7 KB |
blk-barrier.c | -rw-r--r-- | 9.8 KB |
blk-core.c | -rw-r--r-- | 58.3 KB |
blk-exec.c | -rw-r--r-- | 2.7 KB |
blk-integrity.c | -rw-r--r-- | 9.9 KB |
blk-ioc.c | -rw-r--r-- | 4.0 KB |
blk-map.c | -rw-r--r-- | 8.0 KB |
blk-merge.c | -rw-r--r-- | 10.0 KB |
blk-settings.c | -rw-r--r-- | 14.7 KB |
blk-softirq.c | -rw-r--r-- | 4.1 KB |
blk-sysfs.c | -rw-r--r-- | 10.5 KB |
blk-tag.c | -rw-r--r-- | 9.8 KB |
blk-timeout.c | -rw-r--r-- | 5.5 KB |
blk.h | -rw-r--r-- | 3.2 KB |
bsg.c | -rw-r--r-- | 23.3 KB |
cfq-iosched.c | -rw-r--r-- | 58.3 KB |
cmd-filter.c | -rw-r--r-- | 5.4 KB |
compat_ioctl.c | -rw-r--r-- | 21.6 KB |
deadline-iosched.c | -rw-r--r-- | 11.4 KB |
elevator.c | -rw-r--r-- | 26.9 KB |
genhd.c | -rw-r--r-- | 28.4 KB |
ioctl.c | -rw-r--r-- | 8.6 KB |
noop-iosched.c | -rw-r--r-- | 2.6 KB |
scsi_ioctl.c | -rw-r--r-- | 16.9 KB |
Computing file changes ...