Migrating file locks in distributed file systems
AssigneeRed Hat, Inc.
InventorsAnand Avati, Raghavendra Gowdappa
Life of this patent
Estimating the term…
Abstract
Systems and methods for migrating file locks in distributed file systems. An example method may comprise: receiving, by a file system server, over a first connection initiated by a file system client, a connection identifier comprising a file identifier; identifying, in view of the connection identifier, a second connection initiated by the file system client, the second connection associated with a file lock with respect to a file identified by the file identifier; and associating the file lock with the first connection.
Claims20
A method, comprising:
- receiving, by a file system server, over a first connection initiated by a file system client, a connection identifier comprising a file identifier;
- identifying, in view of the connection identifier, a second connection initiated by the file system client, the second connection associated with a file lock with respect to a file identified by the file identifier;
- and
- associating, by the file system server, the file lock with the first connection.
A method, comprising:
- transmitting, based on a first configuration graph describing a first configuration of a distributed file system, a first open request with respect to a file;
- issuing a lock request with respect to at least a part of the file;
- transmitting, based on the first configuration graph, connection identifier requests to a plurality of servers of the distributed file system;
- receiving, by a processing device, a plurality of connection identifiers responsive to the connection identifier requests;
- and
- sending, based on a second configuration graph describing a second configuration of the distributed file system, the plurality of connection identifiers to the plurality of servers, wherein the second configuration is to supersede the first configuration.
A system, comprising:
- a memory;
- and
- one or more processors, coupled to the memory, to:
- receive over a first connection initiated by a file system client, a connection identifier comprising a file identifier;
- identify, in view of the connection identifier, a second connection initiated by the file system client, the second connection associated with a file lock with respect to a file identified by the file identifier;
- and
- associate the file lock with the first connection.
A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device of a file system server, cause the processing device to perform operations, comprising:
- receiving over a first connection initiated by a file system client, a connection identifier comprising a file identifier;
- identifying, in view of the connection identifier, a second connection initiated by the file system client, the second connection associated with a file lock with respect to a file identified by the file identifier;
- and
- associating, by the processing device, the file lock with the first connection.
Dependencies are inferred from the claim text.