Re: [PATCH V2] fix mballoc oopses on mkdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Dilger wrote:

>> (there are 54 BUGs and BUG_ONs in this file...!)
> 
> Yes, we like lots of assertions in our code, because it is exceedingly
> complex to debug otherwise.

But wouldn't error recovery be a better choice?  You could macro-ize it
to BUG for development purposes if you wanted, I suppose...

(xfs has a mask that can be set to turn various flavors of errors into
BUGs, that has been useful at times to catch the system state at the
point of the error)

-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux