Displaying 1 result from an estimated 1 matches for "dastrategy".
Did you mean:
adstrategy
2013 Oct 15
0
How to unstick ZFS resilver?
...ange, I offer the following DTrace script which I used to
identify the slow SAS drives:
#!/usr/sbin/dtrace -s
#pragma D option quiet
#pragma D option dynvarsize=2m
inline int TOO_SLOW = 100000000; /* 100 ms */
dtrace:::BEGIN
{
printf("Tracing... Hit Ctrl-C to end.\n");
}
fbt::dastrategy:entry
{
start_time[(struct buf *)arg0] = timestamp;
}
fbt::dadone:entry
/(this->bp = (struct buf *)args[1]->ccb_h.periph_priv.entries[1].ptr) && start_time[this->bp] && (timestamp - start_time[this->bp]) > TOO_SLOW/
{
@[strjoin("da", lltostr...