lkml.org 
[lkml]   [2008]   [Dec]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 10 Dec 2008 21:43:20 +0300
FromVladislav Bolkhovitin <>
Subject[PATCH][RFC 9/23]: SCST virtual disk backend handler
This patch contains the SCST virtual disk backend device handler. This
is an SCST device handler that allows to export local files or local
block devices as SCSI devices through the SCST target framework. This
handler has three modes:

  - FILEIO mode, which allows to use files on file systems or block 
devices as virtual remotely available SCSI disks or CDROMs with benefits 
of the Linux page cache.

  - BLOCKIO mode, which performs direct block IO with a block device, 
bypassing page-cache for all operations. This mode works ideally with 
high-end storage HBAs and for applications that either do not need 
caching between application and disk or need the large block throughput.

  - NULLIO mode, in which no real IO is performed. It is intended for 
performance testing.

Signed-off-by: Vladislav Bolkhovitin <vst@vlnb.net>
---
  drivers/scst/dev_handlers/scst_vdisk.c | 3540 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1 file changed, 3540 insertions(+)
The patch is too big to be submitted inline. You can find it in 
http://scst.sourceforge.net/patches/scst_vdisk.diff





\
 
 \ /
  Last update: 2008-12-10 19:47    [from the cache]
©2003-2008