- $ ksh -x -c 'for i in *.ksh *.patch ; do cat "$i" ; done'
- + cat debian11bullseye_linux6_6_85rt53_update.ksh
- #!/bin/ksh93
- #
- # debian11bullseye_linux6_6_85rt53_update.ksh - build a
- # Debian 11-compatible Linux v6.6.85-rt53 kernel
- #
- set -o xtrace
- set -o nounset
- set -o errexit
- git -c 'checkout.workers=16' clone -b 'v6.6.85-rt53' --single-branch 'git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git'
- cd linux-stable-rt
- #patch -p1 <'../0001_nfsd_NFSD_MAX_OPS_PER_COMPOUND_128.patch'
- #patch -p1 <'../0001-nfsd-PUTPUBFH-is-supported-in-NFSv4.1-and-NFSv4.patch'
- patch -p1 <'../0001_rpcsvc_RPCSVC_MAXPAYLOAD_16M.patch'
- cp ../debian11_linuxv6_6_85_rt53_32bit.config .config
- time nice -n 19 chrt --idle 0 ksh -c 'CC="gcc -m32" make -j12 bindeb-pkg 2>&1 | tee buildlog.log'
- # EOF.
- + cat 0001_nfsd_NFSD_MAX_OPS_PER_COMPOUND_128.patch
- diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
- index cbddcf484dba..4d047f6e135d 100644
- --- a/fs/nfsd/state.h
- +++ b/fs/nfsd/state.h
- @@ -175,7 +175,7 @@ static inline struct nfs4_delegation *delegstateid(struct nfs4_stid *s)
- /* Maximum number of slots per session. 160 is useful for long haul TCP */
- #define NFSD_MAX_SLOTS_PER_SESSION 160
- /* Maximum number of operations per session compound */
- -#define NFSD_MAX_OPS_PER_COMPOUND 50
- +#define NFSD_MAX_OPS_PER_COMPOUND 128
- /* Maximum session per slot cache size */
- #define NFSD_SLOT_CACHE_SIZE 2048
- /* Maximum number of NFSD_SLOT_CACHE_SIZE slots per session */
- + cat 0001-nfsd-PUTPUBFH-is-supported-in-NFSv4.1-and-NFSv4.patch
- From 8e4a26198664fad3b6ac328112307b5f35b2c8e9 Mon Sep 17 00:00:00 2001
- From: Cedric Blancher <cedric.blancher@gmail.com>
- Date: Wed, 10 Jul 2024 00:45:34 +0200
- Subject: [PATCH] nfsd: PUTPUBFH is supported in NFSv4.1 and NFSv4.
- PUTPUBFH is supported in NFSv4.1 and NFSv4.2, not only in NFSv4.0.
- Reviewed-by: Dan Shelton <dan.f.shelton@gmail.com>
- Signed-off-by: Cedric Blancher <cedric.blancher@gmail.com>
- ---
- fs/nfsd/nfs4xdr.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
- index 92c7dde148a4..14ecac05c91f 100644
- --- a/fs/nfsd/nfs4xdr.c
- +++ b/fs/nfsd/nfs4xdr.c
- @@ -1248,7 +1248,7 @@ nfsd4_decode_putfh(struct nfsd4_compoundargs *argp, union nfsd4_op_u *u)
- static __be32
- nfsd4_decode_putpubfh(struct nfsd4_compoundargs *argp, union nfsd4_op_u *p)
- {
- - if (argp->minorversion == 0)
- + if ((argp->minorversion >= 0) && (argp->minorversion <= 2))
- return nfs_ok;
- return nfserr_notsupp;
- }
- --
- 2.30.2
- + cat 0001_rpcsvc_RPCSVC_MAXPAYLOAD_16M.patch
- diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
- index 3d8b215f32d5..60caf9b4d762 100644
- --- a/include/linux/sunrpc/svc.h
- +++ b/include/linux/sunrpc/svc.h
- @@ -145,7 +145,7 @@ static inline void svc_put(struct svc_serv *serv)
- * have larger limits, but those numbers are probably beyond
- * the point of diminishing returns.
- */
- -#define RPCSVC_MAXPAYLOAD (1*1024*1024u)
- +#define RPCSVC_MAXPAYLOAD (16*1024*1024u)
- #define RPCSVC_MAXPAYLOAD_TCP RPCSVC_MAXPAYLOAD
- #define RPCSVC_MAXPAYLOAD_UDP (32*1024u)
debian11bullseye_linux6_6_85rt53_update.ksh
Posted by Anonymous on Mon 7th Apr 2025 12:22
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.