发明名称 Caching Method for Distributed Storage System, a Lock Server Node, and a Lock Client Node
摘要 A caching method for a distributed storage system, a lock server node, and a lock client node is disclosed. When the lock server node receives a first lock request sent by the first lock client node for locking a first data stripe, if the lock server node determines that the first lock request is a read lock request received for the first time on the first data stripe or a write lock request on the first data stripe, the lock server node records the owner of the first data stripe is the first lock client node in recorded attribute information of data stripes, and returns to the first lock client node a first response message indicating that the owner of the first data stripe is the first lock client node, and instructing the first lock client node to cache the first data stripe.
申请公布号 US2015026417(A1) 申请公布日期 2015.01.22
申请号 US201414509471 申请日期 2014.10.08
申请人 Huawei Technologies Co., Ltd. 发明人 Guo Hongxing
分类号 G06F12/14 主分类号 G06F12/14
代理机构 代理人
主权项 1. A caching method performed by a lock server node in a distributed storage system which includes the lock server node and a plurality of lock client nodes, the method comprising: receiving a first lock request sent by a first lock client node for locking a first data stripe, wherein the first lock request contains an identity (ID) of the first data stripe; determining that the first lock request is a read lock request received for the first time on the first data stripe or a write lock request on the first data stripe; recording, in recorded attribute information of data stripes stored in the distributed storage system, that the first lock client node is an owner of the first data stripe; and returning to the first lock client node a first response message indicating that the first lock client node is the owner of the first data stripe and instructing the first lock client node to cache the first data stripe.
地址 Shenzhen CN