Hi all,

I have run into an issue where a call to fstatfs for a file on a Lustre file system will occasionally return -1 with errno=11 , EAGAIN  "Resource temporarily unavailable". Doing a man 2 fstatfs does not show EAGAIN as a potential errno for fstatfs.  Would this be a Lustre issue or kernel issue?

The following is a debug print I put in immediately after the fstatfs call.

-1=fstatfs(21) name=/nobackupp17/jbauer2/iolreader.22013671/floorpan_1mm.T17167_50.OBJSCR 11 Resource temporarily unavailable

I fixed it by putting the call in ado { ret=fstatfs() } while(ret==-1 && errno==EAGAIN) loop with a counter.

Thanks,

John
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to