[lustre-discuss] llapi_file_open() messages to stderr

Dennis Nelson dnelson at ddn.com
Sat Apr 30 10:27:01 PDT 2016

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 <bauerj at iodoctors.com<mailto:bauerj at 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.



I/O Doctors, LLC
bauerj at iodoctors.com<mailto:bauerj at iodoctors.com>

lustre-discuss mailing list
lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160430/5d11c78b/attachment.htm>

More information about the lustre-discuss mailing list