1. A method of writing data to a storage device, wherein the storage device includes a buffer memory and a flash memory, and the storage device and an information processing device are communicably connected, the method comprising: receiving, from the information processing device, a first DMA descriptor including an address of a memory location in the information processing device, an address of the flash memory, and an address of the buffer memory; when the first DMA descriptor indicates a DMA write operation; writing, by DMA transmission, first data from the address of the memory location in the information processing device to the buffer memory at the address of the buffer memory; and writing the first data from the address of the buffer memory to the flash memory based on the address of the flash memory.