Re: [PATCH 0/5] scsi_debug: increase the amount of ram that scsi_ram can allocate

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

 



FUJITA Tomonori wrote:
Currently, the maximum amount of RAM that scsi_debug can actually
allocate is 4GB. This patchset increase it to 2TB.

Here's an example, scsi_debug allocates 6GB ram and exports it as if
it were 6GB disk.

fujita@rose:/sys/bus/pseudo/drivers/scsi_debug$ cat virtual_gb
0
fujita@rose:/sys/bus/pseudo/drivers/scsi_debug$ cat dev_size_mb
6144

scsi3 : scsi_debug, version 1.81 [20070104], dev_size_mb=6144, opts=0x0
scsi 3:0:0:0: Direct-Access     Linux    scsi_debug       0004 PQ: 0 ANSI: 5
sd 3:0:0:0: [sdc] 12582912 512-byte hardware sectors (6442 MB)


This patchset also include minor cleanup.

This is against scsi-misc with the scsi_build_sense_buffer helper
patchset and the scsi_debug lba fix:

http://marc.info/?l=linux-scsi&m=120640632301595&w=2

http://marc.info/?l=linux-scsi&m=120643343003171&w=2

For patches 1/5, 2/5, 3/5, 4/5 and 5/5 associated with this post:
Signed-off-by: Douglas Gilbert <dougg@xxxxxxxxxx>


Doug Gilbert
--
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