Tracking Users Modifying a File
AssigneeEMC IP Holding Company LLC
InventorsShiv S. Kumar, Jai P. Gahlot
Life of this patent
Estimating the term…
Abstract
Techniques are provided for tracking users modifying, writing, or editing a file. In an example, a file system maintains a first-in-first-out queue that logs a finite set of users that have most-recently modified a file. This queue can be maintained in an extended attribute of an Mode that corresponds to a file. Where a user modifies a file, and the user is currently identified in the queue, the user can be removed from the queue. Where the user modifies a file, is not currently identified in the queue, and the queue is full, an oldest user in the queue can be removed from the queue. Then, the user can be added to the back of the queue.
Claims20
A system, comprising:
- a processor;
- and
- a memory that stores executable instructions that, when executed by the processor, facilitate performance of operations, comprising:
- creating an extended attribute for a file in a file system, the extended attribute being maintained as a first-in-first-out (FIFO) queue of users who have been determined to have written to the file;
- receiving a request from a first user to write to the file;
- and
- in response the receiving of the request, updating the FIFO queue, comprising:
- in response to determining that the first user is in the FIFO queue, removing the first user from the FIFO queue, and appending the first user to the FIFO queue;
- and
- in response to determining that the first user is not in the FIFO queue, appending the first user to the FIFO queue.
A method, comprising:
- receiving, by a system comprising a processor, a request associated with a first user identity to modify a first file, the first file corresponding to a FIFO queue of user identities associated with having the first file;
- and
- in response the receiving of the request, updating, by the system, the FIFO queue, comprising:
- in response to determining that the first user identity is in the FIFO queue, removing the first user identity from the FIFO queue, and appending the first user identity to the FIFO queue;
- and
- in response to determining that the first user identity is not in the FIFO queue, appending the first user identity to the FIFO queue.
A non-transitory computer-readable medium comprising instructions that, in response to execution, cause a system comprising a processor to perform operations, comprising:
- receiving a request associated with a first user identity to modify a file, the file having an extended attribute that identifies user identities associated with user devices that have modified the file;
- and
- in response the receiving of the request, updating the extended attribute, comprising:
- in response to determining that the first user identity is listed in the extended attribute, removing the first user identity from a current position in the extended attribute, and appending the first user identity to the extended attribute;
- and
- in response to determining that the first user identity is not in the extended attribute, appending the first user identity to the extended attribute.
Dependencies are inferred from the claim text.