Page MenuHomeFreeBSD

mmccam: We can't sleep during sdda_add_part so use M_NOWAIT
ClosedPublic

Authored by manu on Aug 4 2020, 5:30 PM.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

manu requested review of this revision.Aug 4 2020, 5:30 PM
sys/cam/mmc/mmc_da.c
1513 ↗(On Diff #75379)

If this fails, do you need to try again?

kibab added inline comments.
sys/cam/mmc/mmc_da.c
1513 ↗(On Diff #75379)

What is the normal behaviour in this case? Do we ever retry on low memory? My take on this one would be "not retry", as system is probably under memory pressure.

This revision is now accepted and ready to land.Oct 30 2020, 10:20 AM