[stgt] [PATCH 1/2] tgt-admin: check if direct-device exists before allocating it

Tomasz Chmielewski mangoo at wpkg.org
Thu Sep 11 16:25:40 CEST 2008

FUJITA Tomonori schrieb:
> On Thu, 11 Sep 2008 16:06:35 +0200
> Tomasz Chmielewski <mangoo at wpkg.org> wrote:
>> Doron Shoham schrieb:
>>> Doron Shoham wrote:
>>>> check if direct-device exists before allocating it.
>>> Hi,
>>> Can you please apply this patch.
>> There is a typo:
>> +	my $swap_file="/proc/swap";
> Where should I add this?

Nowhere, it's already there ;)

# cat /proc/swap
cat: /proc/swap: No such file or directory

> I've already applied this patch and pushed it to kernel.org so can you
> send a patch?

I will if it's not fixed when I send a bigger patch.

To not duplicate work, the changes I'm working on currently are:

- allow setting write caching per lun,
- allow setting scsi_id, scsi_sn, product_id etc. other parameters, per 
lun - useful if one uses multipathd, but not only

Any users of these features out there?

Tomasz Chmielewski
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the stgt mailing list