Question regarding command completion from RAID driver

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

 



Hi,

I have a setup with a RAID-0 device configured. I export this RAID
device as a iSCSI LUN to remote machine over iSCSI protocol. Whenever
the iSCSI initiator does IO on this RAID device, the iSCSI target
driver queues a block request further to be handled by RAID driver.
My question is - when exactly RAID-0 driver acknowledges the upper
layer (block) with the (read / write) command completion? Does it send
completion after the data is successfully written to the disks OR Does
RAID-0 driver maintains its own cache and even before data is
successfully written to disks, it sends completion? If its the later
case, then iSCSI initiator might get false responses and in case of
power failure of my target machine, it might corrupt the data.

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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux