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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux