[stgt] [PATCH] smc: fix memory overwite bug in smc_read_element_status

Tomasz Chmielewski mangoo at wpkg.org
Tue Dec 1 19:32:43 CET 2009


Albert Pauw wrote:
> Hi Tomo,
> 
> tried your patch. Seems to work well.
> 
> If I use a targets.conf file and log into the vtl target I now get an 
> error in stead of a hang:
> 
> [root at orange tgt]# mtx -f /dev/changer status
> Warning:Too Many Storage Elements Reported (expected 0, now have 1
> Too many Data Transfer Elements Reported
> 
> Which is good. If I build the vtl with my (manual) script it works 
> fully, as before.
> 
> So what we need now is that the tgt-admin script will issue the commands 
> in the proper sequence, I guess.
> So the mode pages need to be set up before we attach the drivce luns to 
> the changer (using the params parameter).

I'm a bit busy now, but I'll try to send a patch this week.


-- 
Tomasz Chmielewski
http://wpkg.org
--
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