首页> 外国专利> Method and apparatus having automated write data transfer with optional skip by processing two write commands as a single write command

Method and apparatus having automated write data transfer with optional skip by processing two write commands as a single write command

机译:通过将两个写命令作为单个写命令处理而具有可选跳过的自动写数据传输的方法和装置

摘要

A method and apparatus for writing data to a storage device such as a hard disk drive in which two write commands from an initiator are processed as a single command at the storage device. A first request is received from a small computer systems interface (SCSI) bus to write a first set of data to a storage device. The first set of data is transferred to memory for temporary storage prior to transfer to the storage device. Thereafter, a second write request is received to write a second set of data to the storage device in which the write request includes a logical block address. An ending logical block address determined after transferring the first set of data is compared to the logical block address of the second request to determine whether the second set of data can be written to the storage device along with the first set of data as a single write operation based on the comparison of the logical block address of the second request and the ending logical block address. In response to a determination that the first set of data and the second set of data can be written to the disk as a single write operation, the second set of data is written to the memory as a part of the first write request. The second set of data may be automatically transferred to the memory, to be written to the storage device as a second write operation in response to a determination that the first set of data and the second set of data cannot be written as a single write operation.
机译:一种用于向诸如硬盘驱动器之类的存储设备写入数据的方法和装置,其中来自启动器的两个写入命令在存储设备处被处理为单个命令。从小型计算机系统接口(SCSI)总线接收到第一请求,以将第一组数据写入存储设备。在传输到存储设备之前,将第一组数据传输到内存以进行临时存储。此后,接收第二写入请求以将第二组数据写入存储设备,其中该写入请求包括逻辑块地址。将传输第一组数据后确定的结束逻辑块地址与第二个请求的逻辑块地址进行比较,以确定是否可以将第二组数据与第一组数据一起作为单个写入操作写入存储设备该操作基于第二请求的逻辑块地址和结束逻辑块地址的比较。响应于确定可以通过单个写操作将第一组数据和第二组数据写到磁盘,将第二组数据作为第一写请求的一部分写到存储器。响应于确定不能将第一组数据和第二组数据作为单个写操作进行写入的确定,第二组数据可以被自动传送到存储器,以作为第二写操作被写入存储设备。 。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号