Re: [RFC 22/22] tcm_loop: Add multi-fabric Linux/SCSI LLD fabric module

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nicholas A. Bellinger
Date: Sunday, September 5, 2010 - 2:51 pm

On Sun, 2010-09-05 at 13:30 -0700, Dmitry Torokhov wrote:

Last time I checked this is still what mainline
drivers/scsi/scsi_debug.c is doing for struct device pseudo_primary:

static void pseudo_0_release(struct device *dev)
{
        if (SCSI_DEBUG_OPT_NOISE & scsi_debug_opts)
                printk(KERN_INFO "scsi_debug: pseudo_0_release() called\n");
}

static struct device pseudo_primary = {
        .init_name      = "pseudo_0",
        .release        = pseudo_0_release,
};

so for these type of things in TCM_Loop I tend to follow what scsi_debug does,
 so I don't exactly see a issue here atm.  Anybody else have comments..?

Best,

--nab

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 22/22] tcm_loop: Add multi-fabric Linux/SCSI LLD fabr ..., Nicholas A. Bellinger, (Mon Aug 30, 2:23 am)
Re: [RFC 22/22] tcm_loop: Add multi-fabric Linux/SCSI LLD ..., Nicholas A. Bellinger, (Sun Sep 5, 2:51 pm)
Re: [RFC 22/22] tcm_loop: Add multi-fabric Linux/SCSI LLD ..., Nicholas A. Bellinger, (Sun Sep 5, 10:21 pm)
Re: [RFC 22/22] tcm_loop: Add multi-fabric Linux/SCSI LLD ..., Nicholas A. Bellinger, (Sun Sep 5, 11:01 pm)