Re: nfs + Reiser4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/07/2010 02:51 PM, J. Bruce Fields wrote:
> On Wed, Apr 07, 2010 at 02:44:01PM -0400, Chuck Lever wrote:
>> On 04/07/2010 01:34 PM, J. Bruce Fields wrote:
>>> On Tue, Apr 06, 2010 at 07:52:21PM +0200, gg@xxxxxxxxxxx wrote:
>>>> I am having serious headaches using nfs between a reiser4 server and arm
>>>> client.
>>>> Both on 2.6.29 vintage kernels.
>>>>
>>>> Files are constantly getting out of sync.
>>>>
>>>> Example :
>>>>
>>>> boot ARM via nfs
>>>> edit lighttpd.conf on ARM
>>>> check edit is visible on server. OK
>>>>
>>>> reboot ARM
>>>> check file : reverted to an earlier state.
>>>> check server: edited version still showing.
>>>
>>> So, on a freshly booted NFS client, you're opening and reading a file
>>> and seeing file data that isn't even on the NFS server any more?
>>>
>>> That's beyond bizarre.  Do you have a reliable way to reproduce the
>>> problem?
>>
>> Could be XID replay.
>
> I'm not following you.  You're thinking of a read request after the
> reboot that unluckily reuses an old XID and gets stale data from the
> servers reply cache?  Or something else?

Nothing unlucky about it.  Just after a boot, if the client 
implementation isn't careful about choosing an initial XID, (eg it 
always starts with a psuedorandom number but uses the same seed every 
time), it will hit the server's replay cache.

This can be quite reproducible for NFSROOT and a quiescent server.

-- 
chuck[dot]lever[at]oracle[dot]com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
NFS maillist  -  NFS@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued.
Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux