Re: [PATCH v4 06/14] scsi_debug: implement pre-fetch commands

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Doug,

> Many disks implement the SCSI PRE-FETCH commands. One use case might
> be a disk-to-disk compare, say between disks A and B.  Then this
> sequence of commands might be used: PRE-FETCH(from B, IMMED),
> READ(from A), VERIFY (BYTCHK=1 on B with data returned from READ). The
> PRE-FETCH (which returns quickly due to the IMMED) fetches the data
> from the media into B's cache which should speed the trailing VERIFY
> command.  The next chunk of the compare might be done in parallel,
> with A and B reversed.

Minor nit: I agree with the code and the use case. But the commit
description should reflect what the code actually does (not much in the
absence of cache, etc.)

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux