A data storage system that is capable of switching an encoding rate based on a host command is disclosed. A controller of the data storage system may set the encoding rate of a data storage device to a first encoding rate for encoding data to be written into a non-volatile memory of the data storage device. The controller can receive a host command at the data storage device which indicates a switching point for switching the set coding rate from the first to a second coding rate. The controller can switch the set coding rate from the first to the second coding rate at the switching point displayed.
展开▼