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:
Navdeep Parhar 2022-03-22 13:13:56 -07:00
parent 67674c1cb1
commit 41c4e1c7f7

View File

@ -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) {