From: Oleg Drokin Date: Thu, 8 Aug 2024 14:55:15 +0000 (-0400) Subject: LU-18110 doc: fix inconsistencies in llapi_layout* manpages X-Git-Tag: 2.15.90~41 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=5f6c0ba3f0fefb9b68bbba12b447e4d92ca0c8a2;p=fs%2Flustre-release.git LU-18110 doc: fix inconsistencies in llapi_layout* manpages 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 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55970 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- diff --git a/lustre/doc/llapi_layout.7 b/lustre/doc/llapi_layout.7 index 279b0eb..ee796bf 100644 --- a/lustre/doc/llapi_layout.7 +++ b/lustre/doc/llapi_layout.7 @@ -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] diff --git a/lustre/doc/llapi_layout_stripe_count_get.3 b/lustre/doc/llapi_layout_stripe_count_get.3 index 96bdc870..c095e87 100644 --- a/lustre/doc/llapi_layout_stripe_count_get.3 +++ b/lustre/doc/llapi_layout_stripe_count_get.3 @@ -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 diff --git a/lustre/doc/llapi_layout_stripe_size_get.3 b/lustre/doc/llapi_layout_stripe_size_get.3 index abc1b4a..b7937be 100644 --- a/lustre/doc/llapi_layout_stripe_size_get.3 +++ b/lustre/doc/llapi_layout_stripe_size_get.3 @@ -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 @@ -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