On Fri, 2011-06-24 at 12:45 +0530, Amit Sahrawat wrote: > This has to be an issue with everyone who is using XFS version which is not > supporting "fpunch" but still none has raised this. As per my view, the > support checking function *_require_xfs_io_falloc_punch() *is not working > correctly otherwise it should return from that point. > > *Instead of:* > echo $testio | grep -q "not found" > If we are sure of a *"hole"* from that command, then we can grep for "hole" > in $testio. > > Please correct me if I am wrong. > > Thanks & Regards, > Amit Sahrawat I think what you are saying is that in your environment, _require_xfs_io_falloc_punch() is not properly deciding whether the fpunch operation is supported. And you are suggesting a way to determine it properly, is that right? Unfortunately it is difficult to know whether your suggestion is a proper fix without knowing details of your current system, as well as details about what you are seeing that is incorrect. We welcome suggested fixes from people. Often that takes the form of a patch that proposes a fix, but if enough precise information is provided about the problem we can sometimes develop a fix for you. Can you supply either a patch with a proposed fix, or else provide more information about exactly what you are seeing? Otherwise I don't think we're going to be able to help. Thanks. -Alex _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs