Methods for host-side caching and application consistent writeback restore and devices thereof
First Claim
1. A method comprising:
- receiving, by a computing device, a first write operation having an offset and first data directed to a file from an application executing on a client computing device;
determining, by the computing device, when the file is present in a cache of the computing device;
sending, by the computing device, an acknowledgement of the first write operation to the client computing device, when the file is determined to be present in the cache and the first data is written to the file in the cache;
adding, by the computing device, the offset to a dirty list;
blocking processing, by the computing device, of a second write operation directed to the file and having second data received from the application executing on the client computing device;
write-protecting, by the computing device, the offset of the dirty list upon receiving the second write operation;
resuming processing, by the computing device, of the second write operation;
completing, by the computing device, a write-back operation for the first data present in the cache to a storage server upon sending the acknowledgement; and
write-unprotecting, by the computing device, the offset of the dirty list when the write-back operation is complete.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, non-transitory computer readable medium, and device that assists with file-based host-side caching and application consistent write back includes receiving a write operation on a file from a client computing device. When the file for which the write operation has been received is determined when the file is present in the cache. An acknowledgement is sent back to the client computing device indicating the acceptance of the write operation when the file for which the write operation has been received is determined to be present within the cache. The write-back operation is completed for data present in the cache of the storage management computing device to one of the plurality of servers upon sending the acknowledgement.
41 Citations
20 Claims
-
1. A method comprising:
-
receiving, by a computing device, a first write operation having an offset and first data directed to a file from an application executing on a client computing device; determining, by the computing device, when the file is present in a cache of the computing device; sending, by the computing device, an acknowledgement of the first write operation to the client computing device, when the file is determined to be present in the cache and the first data is written to the file in the cache; adding, by the computing device, the offset to a dirty list; blocking processing, by the computing device, of a second write operation directed to the file and having second data received from the application executing on the client computing device; write-protecting, by the computing device, the offset of the dirty list upon receiving the second write operation; resuming processing, by the computing device, of the second write operation; completing, by the computing device, a write-back operation for the first data present in the cache to a storage server upon sending the acknowledgement; and write-unprotecting, by the computing device, the offset of the dirty list when the write-back operation is complete. - View Dependent Claims (2, 3, 4, 5, 6, 19)
-
-
7. A non-transitory computer readable medium having stored thereon instructions including executable code configured to perform steps comprising:
-
receiving a first write operation having an offset and first data directed to a file from an application executing on a client computing device; determining when the file is present in a cache of a computing device; sending an acknowledgement of the first write operation to the client computing device, when the file is determined to be present in the cache and the first data is written to the file in the cache; adding the offset to a dirty list; blocking processing of a second write operation directed to the file and having second data received from the application executing on the client computing device; write-protecting the offset of the dirty list upon receiving the second write operation; resuming processing of the second write operation; completing a write-back operation for the first data present in the cache to a storage server upon sending the acknowledgement; and write-unprotecting the offset of the dirty list when the write-back operation is complete. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computing device comprising:
-
a processor; a memory coupled to the processor, the memory including programmed instructions configured to; receive a first write operation having an offset and first data directed to a file from an application executing on a client computing device; determine when the file is present in a cache of the computing device; send an acknowledgement of the first write operation to the client computing device when the file is determined to be present in the cache and the first data is written to the file in the cache; add the offset to a dirty list; block processing of a second write operation directed to the file and having second data received from the application executing on the client computing device; write-protect the offset of the dirty list upon receiving the second write operation; resume processing of the second write operation; complete a write-back operation for the first data present in the cache to a storage server upon sending the acknowledgement; and write-unprotect the offset of the dirty list when the write-back operation is complete. - View Dependent Claims (14, 15, 16, 17, 18, 20)
-
Specification