From: Ryusuke Konishi Subject: Re: [PATCH 0/9] nilfs2: reduce redandunt mark_inode_dirty calls Date: Fri, 27 Nov 2009 17:10:48 +0900 (JST) Message-ID: <20091127.171048.94127793.ryusuke@osrg.net> References: <1259305324-28050-1-git-send-email-jir@unicus.jp> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1259305324-28050-1-git-send-email-jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org, jir-hfpbi5WX9J54Eiagz67IpQ@public.gmane.org Cc: konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org Hi, On Fri, 27 Nov 2009 16:01:55 +0900, Jiro SEKIBA wrote: > Hi, > > This is a series of patches to reduce redandunt mark_inode_dirty calls. > > Many functions call mark_inode_dirty() whenever they change inode object. > However, it is redundant to call mark_inode_dirty() to same inode object > within a transaction. > > Last patch also replaces all mark_inode_dirty() calls as > nilfs_mark_inode_dirty(), to reduce deep function call tree. > > > fs/nilfs2/dir.c | 2 +- > fs/nilfs2/inode.c | 6 +++--- > fs/nilfs2/namei.c | 34 +++++++++++++++++----------------- > 3 files changed, 21 insertions(+), 21 deletions(-) Thank you for sending this series. I agree with the basic policy of the changes. All right, I will review the patches as soon as possible. Thanks, Ryusuke Konishi