Method, device and computer program product for managing file system
AssigneeEMC IP Holding Company LLC
InventorsYing Yu, Jing Li, Jia Huang
Life of this patent
Estimating the term…
Abstract
Techniques for managing a file system involve: receiving an event published by the file system, the event being associated with an operation on an object in the file system; determining a value of a counter corresponding to the event based on execution information of the operation; determining a target action corresponding to the value of the counter based on a trigger strategy associated with the counter, the trigger strategy defining at least one action that can be triggered by the counter; and generating an indication for causing the file system to execute the target action. Accordingly, file system management in finer granularity can be provided.
Claims19
A method for managing a file system, comprising:
- receiving an event published by a file system, the event being associated with an operation on an object in the file system;
- determining a value of a counter corresponding to the event based on execution information of the operation;
- determining a target action corresponding to the value of the counter based on a trigger strategy associated with the counter, the trigger strategy defining at least one action that can be triggered by the counter;
- and
- generating an indication for causing the file system to execute the target action;
- wherein the event is published by the file system prior to executing the operation on the object in the file system;
- and
- wherein the method further comprises:
- after generating the indication, executing the target action in the file system;
- and
- based on an execution result of the target action,
- executing the operation on the object in the file system.
An electronic device, comprising:
- at least one processing unit;
- at least one memory that is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, wherein the instructions, when executed by the at least one processing unit, cause the device to execute actions comprising:
- receiving an event published by a file system, the event being associated with an operation on an object in the file system;
- determining a value of a counter corresponding to the event based on execution information of the operation;
- determining a target action corresponding to the value of the counter based on a trigger strategy associated with the counter, the trigger strategy defining at least one action that can be triggered by the counter;
- and
- generating an indication for causing the file system to execute the target action;
- wherein the event is published by the file system prior to executing the operation on the object in the file system;
- and
- wherein the method further comprises:
- after generating the indication, executing the target action in the file system;
- and
- based on an execution result of the target action,
- executing the operation on the object in the file system.
A computer program product having a non-transitory computer readable medium which stores a set of instructions to manage a file system;
- the set of instructions, when carried out by computerized circuitry, causing the computerized circuitry to perform a method of:
- receiving an event published by a file system, the event being associated with an operation on an object in the file system;
- determining a value of a counter corresponding to the event based on execution information of the operation;
- determining a target action corresponding to the value of the counter based on a trigger strategy associated with the counter, the trigger strategy defining at least one action that can be triggered by the counter;
- and
- generating an indication for causing the file system to execute the target action;
- wherein the event is published by the file system prior to executing the operation on the object in the file system;
- and
- wherein the method further comprises:
- after generating the indication, executing the target action in the file system;
- and
- based on an execution result of the target action,
- executing the operation on the object in the file system.
Dependencies are inferred from the claim text.