Query regarding data transfer in UFS

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

 



Hello,

I am new to UFS. I have few queries in it,

(1) As per UFS specification, WRITE(6,10,16) command is used to transfer 
logical blocks and WRITE BUFFER is used to transfer data in terms of bytes.
So, here my query is, what is the difference between those two commands as in 
both case data is transferred?  

(2) In WRITE(6, 10, 16) and WRITE BUFFER command, both buffer and cache memory 
will be written? If yes, then how to control data length in WRITE BUFFER as 
host is transmitting in terms of bytes while cache will be controlled through 
logical block?

(3) Does below arch. is correct?
UFS_HOST => UFS_DEVICE => BUFFER => CACHE_RAM
i.e. UFS host transfers command to UFS device. For data transmission, UFS 
device will send RTT based on buffer size. Then UFS host sends DATA OUT 
command and UFS device will first store it into buffer. Then it will be 
written into cache memory.

(4) In write command, host is driving logical address. But in Ready-to-
transfer and DATA OUT/DATA IN command, data buffer offset is provided. Then, 
how the device will handle this data for storing as logical block at 
particular logical address?

Thank you,
Mehul

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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