Patent ID: 9633691
Date: 2017-04-25
CPC Classifications: G11B

Claim:
1. A storage controller comprising: a control unit that, in a case where write data include a bit string of a first pattern, inverts one or more bit values of the bit string, the write data having been input as data to be written onto a magnetic disk, the write data including a redundancy code that is used for data error correction; and that, in a case where the write data further include a bit string of a second pattern different from the first pattern, reads first user data from a storage unit, inverts one or more bit values of bit string included in the read first user data, and encodes the first user data of which the one or more bit values is inverted to generate the write data, the first user data corresponding to the second pattern and write data before encoded; and an interface that outputs the write data including the bit value inverted by the control unit.