Patent ID: 8321701
Filing Date: 2012-11-27
Classification: G06F

Abstract:
1. A machine-implemented method for adaptively flushing storage data, the machine-implemented method comprising: determining, by a processing device, whether to enable or disable flushing of the storage data to a non-volatile storage medium of a storage device based, at least in part, on a configured flushing policy, a determined amount of power remaining in a power supply, and information about a power consumption of the power supply; enabling, by the processing device, the flushing of the storage data to the non-volatile storage medium when the processing device determines that the flushing is to be enabled; disabling, by the processing device, the flushing of the storage data to the non-volatile storage medium when the processing device determines that the flushing is to be disabled; receiving a flush request for flushing the storage data to the non-volatile storage medium; sending the flush request to the storage device to cause the storage device to flush the storage data to the non-volatile storage medium when the flushing is enabled; and discarding and not sending the flush request to the storage device when the flushing is disabled.