cxgbe(4): Allow dump_cimla and dump_devlog to sleep.
This has been safe since e9e7bc8250
, which moved parts of error
handling from the ithread to a taskqueue.
MFC after: 1 week
Sponsored by: Chelsio Communications
This commit is contained in:
parent
67674c1cb1
commit
41c4e1c7f7
@ -9011,7 +9011,7 @@ dump_cimla(struct adapter *sc)
|
||||
device_get_nameunit(sc->dev));
|
||||
return;
|
||||
}
|
||||
rc = sbuf_cim_la(sc, &sb, M_NOWAIT);
|
||||
rc = sbuf_cim_la(sc, &sb, M_WAITOK);
|
||||
if (rc == 0) {
|
||||
rc = sbuf_finish(&sb);
|
||||
if (rc == 0) {
|
||||
@ -9452,7 +9452,7 @@ dump_devlog(struct adapter *sc)
|
||||
device_get_nameunit(sc->dev));
|
||||
return;
|
||||
}
|
||||
rc = sbuf_devlog(sc, &sb, M_NOWAIT);
|
||||
rc = sbuf_devlog(sc, &sb, M_WAITOK);
|
||||
if (rc == 0) {
|
||||
rc = sbuf_finish(&sb);
|
||||
if (rc == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user