Re: [PATCH] target/rd: use sg_next() while walking through the sg list

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

 



On 11/25/2011 01:38 PM, Sebastian Andrzej Siewior wrote:
During mkfs.ext4 /dev/sda1 I run into:

in case it matters an my setup is wrong, here is what I do:

|modprobe target_core_mod
|mount a -t configfs /sys/kernel/config
|
|CONFIGFS=/sys/kernel/config/
|TARGET=/sys/kernel/config/target/core/
|FABRIC=/sys/kernel/config/target/loopback/
|
|mkdir -p $TARGET/rd_mcp_0/ramdisk
|echo rd_pages=32768 > $TARGET/rd_mcp_0/ramdisk/control
|echo 1 > $TARGET/rd_mcp_0/ramdisk/enable
|
|mkdir -p $FABRIC/naa.6001405c3214b06a/tpgt_1
|mkdir $FABRIC/naa.6001405c3214b06a/tpgt_1/lun/lun_0
|echo naa.6001405c3214b06b > $FABRIC/naa.6001405c3214b06a/tpgt_1/nexus
|
|ln -sv /sys/kernel/config/target/core/rd_mcp_0/ramdisk $FABRIC/naa.6001405c3214b06a/tpgt_1/lun/lun_0/virtual_scsi_port
|

which gives me sda1

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


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux