Patent ID: 8943276
Filing Date: 2015-01-27
Classification: G06F

Abstract:
1. A method for performing a discard scan operation by a processor device in a computing storage environment, comprising: examining a plurality of tracks for meeting a criteria for a discard scan; in lieu of waiting for a completion of a track access operation, marking at least one of the plurality of tracks for demotion by setting a bit in the hash table indicating a beginning of an extent range and an end of the extent range in the at least one of the plurality of tracks in response to the track access operation not being complete after the step of marking, taking a spin lock and setting a flag on one track of the plurality of tracks and releasing the spin lock after setting the flag, and in response to the track access operation not being complete and after the step of marking, continuing to perform the step of marking on another one of the plurality of tracks for demotion by setting another bit in the hash table.