Check for existing files before making the call?  And don't issue the call if 
the file exists.  You cannot change stripe attributes on an existing file.

Sent from my iPhone

On Apr 30, 2016, at 11:51 AM, John Bauer 
<bau...@iodoctors.com<mailto:bau...@iodoctors.com>> wrote:


I am implementing the use of llapi_file_open() in my I/O library so I can set 
the striping.  If the file already exists I get the following message on stderr:

error on ioctl 0x4008669a for 'dd.dat' (4): stripe already set

Is there some way to suppress this message?  The end-uers of my library will 
get these messages in stderr of their job and will likely have no clue as to 
why.  My library detects the failed llapi_file_open() and retrys with open64() 
and spits out its own error message to the library's log.

Thanks

John

--
I/O Doctors, LLC
507-766-0378
bau...@iodoctors.com<mailto:bau...@iodoctors.com>

_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org<mailto:lustre-discuss@lists.lustre.org>
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to