Whamcloud - gitweb
LU-18110 doc: fix inconsistencies in llapi_layout* manpages 70/55970/3
authorOleg Drokin <green@whamcloud.com>
Thu, 8 Aug 2024 14:55:15 +0000 (10:55 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 23 Aug 2024 22:02:56 +0000 (22:02 +0000)
Fixed struct name in the examples, misplaced get/set and
stripe size actually is working on stripe size, not count

Change-Id: Ic777b036a609b586a4ef6eb1636985e60ba7d44f
Test-Parameters: trivial
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55970
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/doc/llapi_layout.7
lustre/doc/llapi_layout_stripe_count_get.3
lustre/doc/llapi_layout_stripe_size_get.3

index 279b0eb..ee796bf 100644 (file)
@@ -29,7 +29,7 @@ that are used to read and assign the attribute value in a given layout.
 Using this interface to create a file might consist of the following steps.
 .IP \[bu]
 Allocate
-.B struct layout
+.B struct llapi_layout
 with
 .BR llapi_layout_alloc (3).
 .IP \[bu]
index 96bdc87..c095e87 100644 (file)
@@ -23,7 +23,7 @@ stores into
 the stripe count of
 .IR layout .
 .PP
-.B llapi_layout_stripe_count_get()
+.B llapi_layout_stripe_count_set()
 sets the stripe count of
 .I layout
 to
index abc1b4a..b7937be 100644 (file)
@@ -1,7 +1,7 @@
 .TH llapi_layout_stripe_size_get 3 "2013 Oct 31" "Lustre User API"
 .SH NAME
 llapi_layout_stripe_size_get, llapi_layout_stripe_size_set \- get or set the
-stripe count of a Lustre file
+stripe size of a Lustre file
 .SH SYNOPSIS
 .nf
 .B #include <lustre/lustreapi.h>
@@ -23,7 +23,7 @@ stores into
 the stripe size of
 .IR layout .
 .PP
-.B llapi_layout_stripe_size_get()
+.B llapi_layout_stripe_size_set()
 sets the stripe size of
 .I layout
 to