[stgt] [PATCH V2 2/8] For each lld save the list of targets using it
Roi Dayan
roi.dayan at gmail.com
Sun Jul 29 10:52:01 CEST 2012
On Sun, Jul 29, 2012 at 11:01 AM, FUJITA Tomonori
<fujita.tomonori at lab.ntt.co.jp> wrote:
> On Sat, 28 Jul 2012 22:43:13 +0300
> Roi Dayan <roi.dayan at gmail.com> wrote:
>
>> > On Wed, 18 Jul 2012 12:36:09 +0300
>> > Roi Dayan <roid at mellanox.com> wrote:
>> >
>> >> Signed-off-by: Roi Dayan <roid at mellanox.com>
>> >> ---
>> >> usr/driver.h | 2 ++
>> >> usr/target.c | 4 ++++
>> >> usr/target.h | 2 ++
>> >> usr/tgtd.c | 2 ++
>> >> 4 files changed, 10 insertions(+), 0 deletions(-)
>> >
>> > This is only for tgtadm show option? If so, you really need this?
>>
>>
>> This is also for not allowing to remove an lld in case there are
>> targets using it.
>
> I see. Thanks. I applied the rest patches however I got the following
> compile error:
>
> tgtadm.c: In function ‘str_to_mode’:
> tgtadm.c:412: error: ‘MODE_STATS’ undeclared (first use in this
> function)
> tgtadm.c:412: error: (Each undeclared identifier is reported only once
> tgtadm.c:412: error: for each function it appears in.)
Sorry, merge mistake when I rebased over the stats patch and no idea
how I missed this compilation error.
I'm sending a fixed patch in another email [PATCH V3 3/8] tgt-admin:
add option to restart llds
Thanks,
Roi
--
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