| CPC G11B 20/10268 (2013.01) [G06F 9/526 (2013.01); G06F 16/2343 (2019.01); G06F 16/2365 (2019.01); G11B 20/105 (2013.01); G11C 16/26 (2013.01)] | 20 Claims |

|
1. A computer-implemented method, comprising:
determining, by a first writer of a plurality of data accessors which includes at least the first writer and at least one reader, that a flag associated with a data object on which a write operation is to be performed by the first writer is set to a first value, wherein the first value indicates that a read operation on the data object can be performed without acquiring a lock associated with the data object;
computing, by the first writer based on one or more metrics associated with the write operation, a duration during which readers are to be prevented from performing read operations on the data object without acquiring the lock; and
causing, by the first writer, the flag to be set to a second value for at least the duration, wherein the second value indicates that the lock has to be acquired to perform a read operation on the data object.
|