Perfect! Thanks Larry. This works and was exactly what I was looking for.
On Feb 13, 2008 4:22 AM, yu larry liu <[EMAIL PROTECTED]> wrote: > Enter kmdb > > #mdb -K > [1]> *sd_state::walk softstate > 60013075500 > 60013075a40 > 300000b3000 > [1]> 60013075500::print -at struct sd_lun un_retry_count > 60013075584 uint_t un_retry_count = 0x5 > [1]> 60013075584/W 3 > 0x60013075584: 0x5 = 0x3 > [1]> 60013075500::print -at struct sd_lun un_retry_count > 60013075584 uint_t un_retry_count = 0x3 > [1]>:c > > Larry > > > Vic Engle wrote: > > I would like to do a test with a higher ssd_retry_count than the default > which seems to be set to 3 and is not tunable the way it was prior to > Solaris 10. The sddef.h header file includes a struct, sd_lun and this > struct includes this variable... > > > > uint_t un_retry_count; /* Per disk retry count */ > > > > I can print the current value of this variable per lun with this > command... > > > > echo "*ssd_state::walk softstate |::print -t struct sd_lun > un_retry_count" | mdb -k > > > > But what I really want to do for my test is to set that variable to 0x5. > Is it possible to change this variable in a running kernel and if so how? > > > > > > This message posted from opensolaris.org > > _______________________________________________ > > storage-discuss mailing list > > [email protected] > > http://mail.opensolaris.org/mailman/listinfo/storage-discuss > > >
_______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
