Re: [PATCH] fsstack: fsstack_copy_inode_size locking

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Hugh Dickins <hugh@...>
Cc: Erez Zadok <ezk@...>, Andrew Morton <akpm@...>, <mhalcrow@...>, <hch@...>, <viro@...>, <linux-fsdevel@...>, <linux-kernel@...>
Date: Monday, June 30, 2008 - 12:31 am

Hugh Dickins:

I don't know why dst->i_lock is affected by src->i_size_seqcount.
Do you mean that your test issued write(2) to the lower/actual file so
frequently that i_size_read() in unionfs always failed?

Is your test
iogen01 export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$
line in runtest/fs?


Junjiro Okajima
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] fsstack: fsstack_copy_inode_size locking, Hugh Dickins, (Sat Jun 28, 8:05 pm)
Re: [PATCH] fsstack: fsstack_copy_inode_size locking , , (Mon Jun 30, 12:31 am)
Re: [PATCH] fsstack: fsstack_copy_inode_size locking , Hugh Dickins, (Mon Jun 30, 8:10 am)
Re: [PATCH] fsstack: fsstack_copy_inode_size locking, Christoph Hellwig, (Sun Jun 29, 3:15 am)
Re: [PATCH] fsstack: fsstack_copy_inode_size locking, Hugh Dickins, (Sun Jun 29, 7:56 am)
Re: [PATCH] fsstack: fsstack_copy_inode_size locking, Michael Halcrow, (Mon Jun 30, 5:49 pm)
Re: [PATCH] fsstack: fsstack_copy_inode_size locking, Christoph Hellwig, (Tue Jul 1, 3:03 am)
[PATCH] unionfs: fix memory leak, Hugh Dickins, (Sat Jun 28, 8:07 pm)
Re: [PATCH] unionfs: fix memory leak , Erez Zadok, (Mon Jun 30, 2:11 pm)