nilfs2: remove timedwait ioctl command
This removes NILFS_IOCTL_TIMEDWAIT command from ioctl interface along with the related flags and wait queue. The command is terrible because it just sleeps in the ioctl. I prefer to avoid this by devising means of event polling in userland program. By reconsidering the userland GC daemon, I found this is possible without changing behaviour of the daemon and sacrificing efficiency. 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>
This commit is contained in:
committed by
Linus Torvalds
parent
76068c4ff1
commit
1088dcf4c3
@@ -2114,11 +2114,8 @@ static void nilfs_segctor_complete_write(struct nilfs_sc_info *sci)
|
||||
nilfs_drop_collected_inodes(&sci->sc_gc_inodes);
|
||||
if (update_sr)
|
||||
nilfs_commit_gcdat_inode(nilfs);
|
||||
} else {
|
||||
} else
|
||||
nilfs->ns_nongc_ctime = sci->sc_seg_ctime;
|
||||
set_nilfs_cond_nongc_write(nilfs);
|
||||
wake_up(&nilfs->ns_cleanerd_wq);
|
||||
}
|
||||
|
||||
sci->sc_nblk_inc += sci->sc_nblk_this_inc;
|
||||
|
||||
|
Reference in New Issue
Block a user