Re: mpt(4) MPI_EVENT_IR_RESYNC_UPDATE

From: pluknet <pluknet_at_gmail.com>
Date: Fri, 30 Apr 2010 18:50:26 +0400
On 30 April 2010 18:22, Matthew Jacob <mj_at_feral.com> wrote:
> pluknet wrote:
> Seems good to me- why not trhow it freebsd-scsi? if nobody says no, I'll put
> it in

Err.. I thought that list is dedicated for cam related stuff.

[cc'ing scsi_at_ for better coverage. Sorry for cross-posting :/ ]

>
>> --- RELENG_7_3/src/sys/dev/mpt/mpt_cam.c        2010-03-02
>> 15:38:13.000000000 +0300
>> +++ RELENG_7_3.ours/src/sys/dev/mpt/mpt_cam.c   2010-04-21
>> 19:31:00.000000000 +0400
>> _at__at_ -2564,6 +2564,12 _at__at_ mpt_cam_event(struct mpt_softc *mpt, req
>>                CAMLOCK_2_MPTLOCK(mpt);
>>                break;
>>        }
>> +       case MPI_EVENT_IR_RESYNC_UPDATE:
>> +       {
>> +               uint8_t resync = (data0 >> 16) & 0xff;
>> +               mpt_prt(mpt, "IR resync update %d completed\n", resync);
>> +               break;
>> +       }
>>        case MPI_EVENT_EVENT_CHANGE:
>>        case MPI_EVENT_INTEGRATED_RAID:
>>        case MPI_EVENT_SAS_DEVICE_STATUS_CHANGE:
>>
>> Another way - just hide such event since mptutil displays rebuild
>> progress.
>>
>>

-- 
wbr,
pluknet
Received on Fri Apr 30 2010 - 12:50:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:03 UTC