Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-8861 doc: Update llapi_ladvise man page
[fs/lustre-release.git]
/
lustre
/
doc
/
llapi_file_get_stripe.3
diff --git
a/lustre/doc/llapi_file_get_stripe.3
b/lustre/doc/llapi_file_get_stripe.3
index
bfc9dc6
..
d3232fb
100644
(file)
--- a/
lustre/doc/llapi_file_get_stripe.3
+++ b/
lustre/doc/llapi_file_get_stripe.3
@@
-1,4
+1,4
@@
-.TH l
lapi_file_get_stripe 3 "2009 Jul 22" Lustre liblustreapi
+.TH l
ustreapi 3 "2009 Jul 22" The Lustre user application interface library
.SH NAME
llapi_file_get_stripe \- get striping information for a file or a directory on a Lustre filesystem
.SH SYNOPSIS
.SH NAME
llapi_file_get_stripe \- get striping information for a file or a directory on a Lustre filesystem
.SH SYNOPSIS
@@
-6,10
+6,7
@@
llapi_file_get_stripe \- get striping information for a file or a directory on a
.B #include <sys/types.h>
.B #include <sys/stat.h>
.B #include <fcntl.h>
.B #include <sys/types.h>
.B #include <sys/stat.h>
.B #include <fcntl.h>
-.B #include <liblustre.h>
-.B #include <lustre/lustre_idl.h>
-.B #include <lustre/liblustreapi.h>
-.B #include <lustre/lustre_user.h>
+.B #include <lustre/lustreapi.h>
.sp
.BI "int llapi_file_get_stripe(const char *"path ", void *"lum );
.sp
.sp
.BI "int llapi_file_get_stripe(const char *"path ", void *"lum );
.sp
@@
-43,7
+40,7
@@
struct lov_user_md_v3 {
__u32 lmm_stripe_size;
__u16 lmm_stripe_count;
__u16 lmm_stripe_offset;
__u32 lmm_stripe_size;
__u16 lmm_stripe_count;
__u16 lmm_stripe_offset;
- char lmm_pool_name[LOV_MAXPOOLNAME];
+ char lmm_pool_name[LOV_MAXPOOLNAME
+ 1
];
struct lov_user_ost_data_v1 lmm_objects[0];
} __attribute__((packed));
.fi
struct lov_user_ost_data_v1 lmm_objects[0];
} __attribute__((packed));
.fi
@@
-140,12
+137,7
@@
is not properly mapped.
.SH "EXAMPLE"
.nf
#include <sys/vfs.h>
.SH "EXAMPLE"
.nf
#include <sys/vfs.h>
-#include <liblustre.h>
-#include <lnet/lnetctl.h>
-#include <obd.h>
-#include <lustre_lib.h>
-#include <lustre/liblustreapi.h>
-#include <obd_lov.h>
+#include <lustre/lustreapi.h>
static inline int maxint(int a, int b)
{
static inline int maxint(int a, int b)
{
@@
-201,4
+193,4
@@
cleanup:
.fi
.SH "SEE ALSO"
.BR lustre (7),
.fi
.SH "SEE ALSO"
.BR lustre (7),
-.BR l
ibl
ustreapi (7)
+.BR lustreapi (7)