* PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename
@ 2008-04-21 5:24 Lachlan McIlroy
2008-04-21 6:08 ` Christoph Hellwig
0 siblings, 1 reply; 3+ messages in thread
From: Lachlan McIlroy @ 2008-04-21 5:24 UTC (permalink / raw)
To: sgi.bugs.xfs, xfs
kill usesless IHOLD calls in xfs_rename
Similar to to the previous patch for remove and rmdir only grab
a reference to inodes when we join them to transaction to balance the
decrement on transaction completion. Everything else it taken care of
by the VFS.
Note that the old case had leaks of inode count when src == target or
src or target == one of the parent inodes, but these cases are
fortunately already rejected by the VFS.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Date: Mon Apr 21 15:23:49 AEST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-hch
Inspected by: hch
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:30904a
fs/xfs/xfs_rename.c - 1.84 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_rename.c.diff?r1=text&tr1=1.84&r2=text&tr2=1.83&f=h
- kill usesless IHOLD calls in xfs_rename
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename
2008-04-21 5:24 PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename Lachlan McIlroy
@ 2008-04-21 6:08 ` Christoph Hellwig
2008-04-21 6:53 ` Lachlan McIlroy
0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2008-04-21 6:08 UTC (permalink / raw)
To: Lachlan McIlroy; +Cc: sgi.bugs.xfs, xfs
Any reason you didn't commit:
[PATCH 1/2] kill parent == child checks in xfs_remove and xfs_rmdir
[PATCH 2/2] kill usesless IHOLD calls in xfs_remove and xfs_rmdir
in this round, it's pretty much the equivalent treatment to remove and
rmdir that we did to rename in this and the previous patch.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename
2008-04-21 6:08 ` Christoph Hellwig
@ 2008-04-21 6:53 ` Lachlan McIlroy
0 siblings, 0 replies; 3+ messages in thread
From: Lachlan McIlroy @ 2008-04-21 6:53 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
Christoph Hellwig wrote:
> Any reason you didn't commit:
>
> [PATCH 1/2] kill parent == child checks in xfs_remove and xfs_rmdir
> [PATCH 2/2] kill usesless IHOLD calls in xfs_remove and xfs_rmdir
>
> in this round, it's pretty much the equivalent treatment to remove and
> rmdir that we did to rename in this and the previous patch.
>
No intentional reason. For some reason I didn't apply them when I tested
the last batch. They're going through QA now and I'll check them in soon.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-21 6:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21 5:24 PARTIAL TAKE 976035 - kill usesless IHOLD calls in xfs_rename Lachlan McIlroy
2008-04-21 6:08 ` Christoph Hellwig
2008-04-21 6:53 ` Lachlan McIlroy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox