<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
In /proc/fs/lustre/osc/ is an entry for every osc of all the lustre
files systems on a client node of the form <b>nbp9-OST0124-osc-ffff880ffaa4bc00<br>
<br>
</b>My I/O instrumentation library tracks OSC's associated with an
application file by reading the files in the directory for each OSC
the application file is striped on.<br>
I am trying to avoid the use of opendir() and readdir() to find the
OSC entry of interest as there are 1284 entries in the lustre/osc
directory, and I do this for hundreds of application files on
hundreds of ranks.<br>
I would like to generated the names of the osc entries I need, on
the fly, given the discoverable file system name and osc indices.<br>
<br>
I can find the file system name, <b>nbp9</b>, with
llapi_getname(). I can generate the <b>OSTxxxx</b> part with the
osc index from llapi_get_stripe().<br>
My question is, where do I find the <b>ffff880ffaa4bc00 </b>that
is part of the directory entry for each OSC? The value would appear
to be file system<br>
related, as each OSC associated with a given file system has the
same value. OSC's of a different file system have a different
value.<br>
Is there an llapi_xxxx() call that will get me this value.<br>
<br>
Thanks<br>
<br>
John<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
I/O Doctors, LLC
507-766-0378
<a class="moz-txt-link-abbreviated" href="mailto:bauerj@iodoctors.com">bauerj@iodoctors.com</a></pre>
</body>
</html>