Re: object_contexts and SharedLRU in PrimaryPG

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

 



Hi YuFan,

On Wed, 9 May 2018, YuFan Chen wrote:
> Hi,
> 
>   Is the scenario possible?
> 
>    There is an doing op X and its OBC info is stored in the container:
>           SharedLRU<>::object_contexts;
> 
>   In the meantime,
>       there are many other OPs comming, and cause  "lru_remove" the OBC of op X.
> 
>    If there is a new op trying to access the same object as op X, it
> may get something wrong.

lru_remove will not completely remove X if there are live references 
because of the weak_refs map.  If there is a subsequent lookup of oid X it 
will be found (see lookup()).

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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux