]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] scsi tgt: scsi target user and kernel communication interface
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 16 Nov 2006 10:24:16 +0000 (19:24 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 25 Nov 2006 19:17:38 +0000 (13:17 -0600)
commit97f78759ea1cb7d27b61095582de78b8e7486e85
tree71c5cabb1758e5ba1b3ba37b9091e653b822c3f7
parent5a55c2596f55e3a60f7502d0dfcfa0d20241e5ac
[SCSI] scsi tgt: scsi target user and kernel communication interface

The user-space daemon and tgt kernel module need bi-directional
kernel/user high-performance interface, however, mainline provides no
standard interface like that.

This patch adds shared memory interface between kernel and user spaces
like some other drivers do by using own character device. The
user-space daemon and tgt kernel module creates shared memory via mmap
and use it like ring buffer. poll (kernel to user) and write (user to
kernel) system calls are used for notification.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_tgt_if.c [new file with mode: 0644]
include/scsi/scsi_tgt_if.h [new file with mode: 0644]