CIFS with multiple inodes referring to the same server object? [was Re: [Linux-cachefs] BUG while pushing to git on cached CIFS]

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

 



Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx> wrote:

> I currently run on a BUG while I was pushing to a bare git repository
> located on a CIFS which was cached localy. The used kernel is 3.18.3-gentoo
> which this dmesg output:
>
> CacheFiles: 
> CacheFiles: Error: Unexpected object collision
> CacheFiles: object: OBJ1c
> CacheFiles: objstate=LOOK_UP_OBJECT fl=8 wbusy=2 ev=0[0]
> CacheFiles: ops=0 inp=0 exc=0
> CacheFiles: parent=ffff8800d9d96140
> CacheFiles: cookie=ffff8800d03bd230 [pr=ffff8800cc1ca000 nd=ffff8800cb4a2490 fl=27]
> CacheFiles: key=[8] '40a0080501090000'
> CacheFiles: xobject: OBJ1a
> CacheFiles: xobjstate=WAIT_FOR_CMD fl=38 wbusy=0 ev=0[6d]
> CacheFiles: xops=0 inp=0 exc=0
> CacheFiles: xparent=ffff8800d9d96140
> CacheFiles: xcookie=ffff8800d03bd190 [pr=ffff8800cc1ca000 nd=ffff8800cb4aad00 fl=22]
> CacheFiles: xkey=[8] '40a0080501090000'

It would appear that the cifs filesystem here has two inodes:

	CacheFiles: cookie... nd=ffff8800cb4a2490 ...

and:

	CacheFiles: xcookie... nd=ffff8800cb4aad00 ...

that refer to the file objects with the same cifsi->uniqueid.

	CacheFiles: key=[8] '40a0080501090000'
	CacheFiles: xkey=[8] '40a0080501090000'

both objects appear to be live or becoming live.  Object flags:

	fl=8: IS_LIVE
	fl=38: IS_LIVE | IS_LOOKED_UP | IS_AVAILABLE

Cookie flags:

	fl=27: LOOKING_UP | NO_DATA_YET | UNAVAILABLE | ENABLED
	fl=22: NO_DATA_YET | ENABLED

I can't tell from this whether both inodes refer to the same remote file, or
whether the server is serving out distinct remote files with the same
uniqueid.

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




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux