[PATCH][RFC 9/23]: SCST virtual disk backend handler

From: Vladislav Bolkhovitin
Date: Wed Dec 10 2008 - 13:43:43 EST


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@xxxxxxxx>
---
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



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