* linux-next: build warning after merge of the nfs-anna tree
@ 2024-09-24 4:46 Stephen Rothwell
2024-09-24 17:08 ` Mike Snitzer
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2024-09-24 4:46 UTC (permalink / raw)
To: Anna Schumaker, Trond Myklebust
Cc: Anna Schumaker, Mike Snitzer, NFS Mailing List,
Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
Hi all,
After merging the nfs-anna tree, today's linux-next build (htmldocs)
produced this warning:
Documentation/filesystems/nfs/localio.rst:43: ERROR: Unexpected indentation.
Documentation/filesystems/nfs/localio.rst:56: ERROR: Unexpected indentation.
Documentation/filesystems/nfs/localio.rst:179: WARNING: Inline emphasis start-string without end-string.
Documentation/filesystems/nfs/localio.rst:190: WARNING: Definition list ends without a blank line; unexpected unindent.
Documentation/filesystems/nfs/localio.rst:191: WARNING: Definition list ends without a blank line; unexpected unindent.
Documentation/filesystems/nfs/localio.rst: WARNING: document isn't included in any toctree
Introduced by commit
92945bd81ca4 ("nfs: add Documentation/filesystems/nfs/localio.rst")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: build warning after merge of the nfs-anna tree
2024-09-24 4:46 linux-next: build warning after merge of the nfs-anna tree Stephen Rothwell
@ 2024-09-24 17:08 ` Mike Snitzer
0 siblings, 0 replies; 7+ messages in thread
From: Mike Snitzer @ 2024-09-24 17:08 UTC (permalink / raw)
To: Stephen Rothwell, Anna Schumaker
Cc: Trond Myklebust, Anna Schumaker, NFS Mailing List,
Linux Kernel Mailing List, Linux Next Mailing List
On Tue, Sep 24, 2024 at 02:46:26PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the nfs-anna tree, today's linux-next build (htmldocs)
> produced this warning:
>
> Documentation/filesystems/nfs/localio.rst:43: ERROR: Unexpected indentation.
> Documentation/filesystems/nfs/localio.rst:56: ERROR: Unexpected indentation.
> Documentation/filesystems/nfs/localio.rst:179: WARNING: Inline emphasis start-string without end-string.
> Documentation/filesystems/nfs/localio.rst:190: WARNING: Definition list ends without a blank line; unexpected unindent.
> Documentation/filesystems/nfs/localio.rst:191: WARNING: Definition list ends without a blank line; unexpected unindent.
> Documentation/filesystems/nfs/localio.rst: WARNING: document isn't included in any toctree
>
> Introduced by commit
>
> 92945bd81ca4 ("nfs: add Documentation/filesystems/nfs/localio.rst")
Sorry for the trouble.
Anna, the following fixes all errors and warnings for me, please feel
free to fold this into the initial localio.rst commit Stephen
referenced, thanks:
diff --git a/Documentation/filesystems/nfs/index.rst b/Documentation/filesystems/nfs/index.rst
index 8536134f31fd..9298b47518d9 100644
--- a/Documentation/filesystems/nfs/index.rst
+++ b/Documentation/filesystems/nfs/index.rst
@@ -14,3 +14,4 @@ NFS
nfs41-server
knfsd-stats
reexport
+ localio
diff --git a/Documentation/filesystems/nfs/localio.rst b/Documentation/filesystems/nfs/localio.rst
index 3c9bc370079b..5502c25021a0 100644
--- a/Documentation/filesystems/nfs/localio.rst
+++ b/Documentation/filesystems/nfs/localio.rst
@@ -40,12 +40,14 @@ using XDR and RPC for reads, writes and commits can be extreme, e.g.:
fio for 20 secs with directio, qd of 8, 16 libaio threads:
- With LOCALIO:
+
4K read: IOPS=979k, BW=3825MiB/s (4011MB/s)(74.7GiB/20002msec)
4K write: IOPS=165k, BW=646MiB/s (678MB/s)(12.6GiB/20002msec)
128K read: IOPS=402k, BW=49.1GiB/s (52.7GB/s)(982GiB/20002msec)
128K write: IOPS=11.5k, BW=1433MiB/s (1503MB/s)(28.0GiB/20004msec)
- Without LOCALIO:
+
4K read: IOPS=79.2k, BW=309MiB/s (324MB/s)(6188MiB/20003msec)
4K write: IOPS=59.8k, BW=234MiB/s (245MB/s)(4671MiB/20002msec)
128K read: IOPS=33.9k, BW=4234MiB/s (4440MB/s)(82.7GiB/20004msec)
@@ -53,12 +55,14 @@ fio for 20 secs with directio, qd of 8, 16 libaio threads:
fio for 20 secs with directio, qd of 8, 1 libaio thread:
- With LOCALIO:
+
4K read: IOPS=230k, BW=898MiB/s (941MB/s)(17.5GiB/20001msec)
4K write: IOPS=22.6k, BW=88.3MiB/s (92.6MB/s)(1766MiB/20001msec)
128K read: IOPS=38.8k, BW=4855MiB/s (5091MB/s)(94.8GiB/20001msec)
128K write: IOPS=11.4k, BW=1428MiB/s (1497MB/s)(27.9GiB/20001msec)
- Without LOCALIO:
+
4K read: IOPS=77.1k, BW=301MiB/s (316MB/s)(6022MiB/20001msec)
4K write: IOPS=32.8k, BW=128MiB/s (135MB/s)(2566MiB/20001msec)
128K read: IOPS=24.4k, BW=3050MiB/s (3198MB/s)(59.6GiB/20001msec)
@@ -85,19 +89,21 @@ Linux Kernel Organization 400122 nfslocalio
The LOCALIO protocol spec in rpcgen syntax is:
-/* raw RFC 9562 UUID */
-#define UUID_SIZE 16
-typedef u8 uuid_t<UUID_SIZE>;
+::
-program NFS_LOCALIO_PROGRAM {
- version LOCALIO_V1 {
- void
- NULL(void) = 0;
+ /* raw RFC 9562 UUID */
+ #define UUID_SIZE 16
+ typedef u8 uuid_t<UUID_SIZE>;
- void
- UUID_IS_LOCAL(uuid_t) = 1;
- } = 1;
-} = 400122;
+ program NFS_LOCALIO_PROGRAM {
+ version LOCALIO_V1 {
+ void
+ NULL(void) = 0;
+
+ void
+ UUID_IS_LOCAL(uuid_t) = 1;
+ } = 1;
+ } = 400122;
LOCALIO uses the same transport connection as NFS traffic. As such,
LOCALIO is not registered with rpcbind.
^ permalink raw reply related [flat|nested] 7+ messages in thread
* linux-next: build warning after merge of the nfs-anna tree
@ 2025-01-09 4:23 Stephen Rothwell
2025-01-14 5:45 ` Stephen Rothwell
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2025-01-09 4:23 UTC (permalink / raw)
To: Anna Schumaker, Trond Myklebust
Cc: Anna Schumaker, Mike Snitzer, NFS Mailing List,
Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 452 bytes --]
Hi all,
After merging the nfs-anna tree, today's linux-next build (htmldocs)
produced this warning:
Documentation/filesystems/nfs/localio.rst:284: ERROR: Unexpected indentation.
Documentation/filesystems/nfs/localio.rst:285: WARNING: Block quote ends without a blank line; unexpected unindent.
Introduced by commit
cc1080daed34 ("nfs/localio: add direct IO enablement with sync and async IO support")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: build warning after merge of the nfs-anna tree
2025-01-09 4:23 Stephen Rothwell
@ 2025-01-14 5:45 ` Stephen Rothwell
0 siblings, 0 replies; 7+ messages in thread
From: Stephen Rothwell @ 2025-01-14 5:45 UTC (permalink / raw)
To: Anna Schumaker, Trond Myklebust
Cc: Anna Schumaker, Mike Snitzer, NFS Mailing List,
Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
Hi all,
On Thu, 9 Jan 2025 15:23:49 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the nfs-anna tree, today's linux-next build (htmldocs)
> produced this warning:
>
> Documentation/filesystems/nfs/localio.rst:284: ERROR: Unexpected indentation.
> Documentation/filesystems/nfs/localio.rst:285: WARNING: Block quote ends without a blank line; unexpected unindent.
>
> Introduced by commit
>
> cc1080daed34 ("nfs/localio: add direct IO enablement with sync and async IO support")
I am still seeing those warnings.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* linux-next: build warning after merge of the nfs-anna tree
@ 2018-07-30 8:52 Stephen Rothwell
2018-07-31 9:04 ` David Wysochanski
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2018-07-30 8:52 UTC (permalink / raw)
To: Anna Schumaker, Trond Myklebust, NFS Mailing List
Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
Dave Wysochanski
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Hi all,
After merging the nfs-anna tree, today's linux-next build (powerpc
ppc44x_defconfig, sparc defconfig) produced this warning:
net/sunrpc/stats.c: In function 'rpc_clnt_show_stats':
/home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer
struct rpc_iostats stats = { 0 };
^
Introduced by commit
c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: build warning after merge of the nfs-anna tree
2018-07-30 8:52 Stephen Rothwell
@ 2018-07-31 9:04 ` David Wysochanski
2018-07-31 13:46 ` Anna Schumaker
0 siblings, 1 reply; 7+ messages in thread
From: David Wysochanski @ 2018-07-31 9:04 UTC (permalink / raw)
To: Stephen Rothwell, Anna Schumaker, Trond Myklebust,
NFS Mailing List
Cc: Linux-Next Mailing List, Linux Kernel Mailing List
On Mon, 2018-07-30 at 18:52 +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the nfs-anna tree, today's linux-next build (powerpc
> ppc44x_defconfig, sparc defconfig) produced this warning:
>
> net/sunrpc/stats.c: In function 'rpc_clnt_show_stats':
> /home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer
> struct rpc_iostats stats = { 0 };
>
Apologies I did not see this before submission.
The below fixup compiles without warning for me on ppc64le.
struct rpc_iostats stats = {};
> ^
>
> Introduced by commit
>
> c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones")
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: linux-next: build warning after merge of the nfs-anna tree
2018-07-31 9:04 ` David Wysochanski
@ 2018-07-31 13:46 ` Anna Schumaker
0 siblings, 0 replies; 7+ messages in thread
From: Anna Schumaker @ 2018-07-31 13:46 UTC (permalink / raw)
To: David Wysochanski, Stephen Rothwell, Anna Schumaker,
Trond Myklebust, NFS Mailing List
Cc: Linux-Next Mailing List, Linux Kernel Mailing List
Hi David,
On 07/31/2018 05:04 AM, David Wysochanski wrote:
> On Mon, 2018-07-30 at 18:52 +1000, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the nfs-anna tree, today's linux-next build (powerpc
>> ppc44x_defconfig, sparc defconfig) produced this warning:
>>
>> net/sunrpc/stats.c: In function 'rpc_clnt_show_stats':
>> /home/sfr/next/next/net/sunrpc/stats.c:258:32: warning: excess elements in struct initializer
>> struct rpc_iostats stats = { 0 };
>>
>
> Apologies I did not see this before submission.
>
> The below fixup compiles without warning for me on ppc64le.
>
> struct rpc_iostats stats = {};
Can you resend the patch with that change, please?
Thanks,
Anna
>
>
>> ^
>>
>> Introduced by commit
>>
>> c3b588a2d5be ("sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones")
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-01-14 5:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-24 4:46 linux-next: build warning after merge of the nfs-anna tree Stephen Rothwell
2024-09-24 17:08 ` Mike Snitzer
-- strict thread matches above, loose matches on Subject: below --
2025-01-09 4:23 Stephen Rothwell
2025-01-14 5:45 ` Stephen Rothwell
2018-07-30 8:52 Stephen Rothwell
2018-07-31 9:04 ` David Wysochanski
2018-07-31 13:46 ` Anna Schumaker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).