Patent ID: 9734076
Date: 2017-08-15
CPC Classifications: G06F,G11B

Claim:
1. A method for dynamically changing a buffer threshold in a tape drive, the method comprising: setting a buffer threshold (b) to a smaller value than a size (B) of a drive buffer in response to determining that a transaction size (S) of data stored in the buffer is less than the size (B), the buffer threshold (b) indicating an amount of data stored in the drive buffer that triggers a back hitch that precedes writing data from the drive buffer to a magnetic recording tape; setting the buffer threshold (b) to the smaller value in response to determining that an absolute difference between the transaction size (S) and a write size (s) is greater than or equal to the buffer size (B); and setting the buffer threshold (b) to a larger value than the smaller value in response to determining that the transaction size (S) is not less than the buffer size (B) and/or the absolute difference between the transaction size (S) and the write size (s) is less than the buffer size (B).