If a buffer becomes invalid in block mode, then it can recover ungracefully -- so parts of the lentic buffer are correct and parts are not.
This happens because of incremental cloning. The bits which are cloned during invalidity are cloned with the default clone (which is effectively wrong), but then after the buffer becomes valid again only the incrementally cloned bits are fixed. We need to detect when invalidity status changes and clone the entire buffer.
If a buffer becomes invalid in block mode, then it can recover ungracefully -- so parts of the lentic buffer are correct and parts are not.
This happens because of incremental cloning. The bits which are cloned during invalidity are cloned with the default clone (which is effectively wrong), but then after the buffer becomes valid again only the incrementally cloned bits are fixed. We need to detect when invalidity status changes and clone the entire buffer.