Here is an attempt at the XFS conversion. It does call the full setattr on the write failures as that's what has been tested with a previous attempt at fixing those isuses. I'll see if I can factor our just the actual block truncation. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html