04 Mar, 2010
1 commit
-
... especially when it only needs (and initializes) .d_name of it
Signed-off-by: Al Viro
27 Nov, 2009
8 commits
-
Replace mark_inode_dirty() as nilfs_mark_inode_dirty()
to reduce deep function calls.Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
Delete mark_inode_dirty() in nilfs_delete_entry() to reduce duplicate
mark_inode_dirty() calls both in nilfs_rename() and nilfs_delete_entry().Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
Delete mark_inode_dirty() in nilfs_commit_chunk(), for callers of
nilfs_commit_chunk() will call equivalent mark_inode_dirty()
after calling nilfs_commit_chunk().Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
Split nilfs_unlink() to reduce nested transaction and duplicate
mark_inode_dirty() calls when calling nilfs_unlink() from nilfs_rmdir().nilfs_do_unlink() is an actual unlink functionality which is not
in transaction and does not call mark_inode_dirty() for dentry argument.nilfs_unlink() is a wrapper function for do_nilfs_unlink() with
transaction and mark_inode_dirty() for dentry argument.Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
delete redundant mark_inode_dirty() calls
Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
This is an intermidiate patch to reduce redandunt mark_inode_dirty() calls
by calling inode_inc_link_count() and inode_dec_link_count() functions.Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
Delete mark_inode_dirty() from nilfs_set_link() to reduce redundant
mark_inode_dirty() calls in caller of nilfs_set_link().Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi -
It is redundant to call mark_inode_dirty() in nilfs_new_inode() because
all caller of nilfs_new_inode() will call mark_inode_dirty()
after calling nilfs_new_inode() directly or indirectly in transaction.Signed-off-by: Jiro SEKIBA
Signed-off-by: Ryusuke Konishi
22 Sep, 2009
1 commit
-
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Apr, 2009
2 commits
-
Pekka Enberg pointed out that double error handlings found after
nilfs_transaction_end() can be avoided by separating abort operation:OK, I don't understand this. The only way nilfs_transaction_end() can
fail is if we have NILFS_TI_SYNC set and we fail to construct the
segment. But why do we want to construct a segment if we don't commit?I guess what I'm asking is why don't we have a separate
nilfs_transaction_abort() function that can't fail for the erroneous
case to avoid this double error value tracking thing?This does the separation and renames nilfs_transaction_end() to
nilfs_transaction_commit() for clarification.Since, some calls of these functions were used just for exclusion control
against the segment constructor, they are replaced with semaphore
operations.Acked-by: Pekka Enberg
Signed-off-by: Ryusuke Konishi
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This adds pathname operations, most of which comes from the ext2 file
system.Signed-off-by: Ryusuke Konishi
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds