v9fs / linux

Linux kernel source tree
Other
2 stars 2 forks source link

bug_on bugs me #16

Open ericvh opened 1 year ago

ericvh commented 1 year ago

There are lots of bug_on that I don't think should be in production. I think in many cases we could fail more gracefully than full on panic - so at the very least these should be degraded to warn on and graceful error path.

ericvh commented 1 year ago

reading the kernel docs, it does seem like we should probably have a graceful failure path where possible and then just do a WARN() or WARN_ONCE()