Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: NFSv4.2 client support in kernel #3397

Open
adduty opened this issue Jan 8, 2020 · 4 comments
Open

Feature request: NFSv4.2 client support in kernel #3397

adduty opened this issue Jan 8, 2020 · 4 comments

Comments

@adduty
Copy link

adduty commented Jan 8, 2020

Could you please add CONFIG_NFS_V4_2=y to the kernel config?

NFSv4.2 adds sparse file support, which would help extend the life of SSD-backed NFS shares for those network booting the Raspberry Pi.

For those who are curious, see https://msystechnologies.com/blogs/what-is-new-in-nfs-v4-2/ for a more comprehensive list of features added in NFSv4.2.

@pelwell
Copy link
Contributor

pelwell commented Jan 10, 2020

How much does the kernel footprint grow with this feature added? Boot to as close to an idle system as you can, then run free on a kernel version with and without this patch, then post the results.

@pelwell pelwell added Waiting for external input Waiting for a comment from the originator of the issue, or a collaborator. Feature request labels Jan 10, 2020
@adduty
Copy link
Author

adduty commented Jan 21, 2020

I have booted to Raspbian Lite using a kernel compiled from the latest source, once without CONFIG_NFS_V4_2=y and once with it. Here are the results:

Without:

$ free
              total        used        free      shared  buff/cache   available
Mem:        1986012       63568     1848488       16816       73956     1833772
Swap:             0           0           0

With:

$ free
              total        used        free      shared  buff/cache   available
Mem:        1986012       62848     1849452       16816       73712     1834616
Swap:             0           0           0

Difference in kernel image size:

-rw-r--r--  1 root root  5737656 Jan 21 23:17 kernel7l_custom_42.img
-rw-r--r--  1 root root  5731288 Jan 21 20:11 kernel7l_custom.img

@adduty
Copy link
Author

adduty commented Jan 27, 2020

@pelwell does this look acceptable?

@pelwell pelwell removed the Waiting for external input Waiting for a comment from the originator of the issue, or a collaborator. label Feb 4, 2020
pelwell added a commit that referenced this issue Feb 4, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor

pelwell commented Feb 4, 2020

That looks acceptable. See 3508d8f.

pelwell added a commit that referenced this issue Feb 5, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Feb 5, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 6, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 6, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix added a commit to raspberrypi/firmware that referenced this issue Feb 6, 2020
kernel: configs: Add NFS 4.2 support
See: raspberrypi/linux#3397

kernel: overlays: dwc2: Increase RX FIFO size
See: raspberrypi/linux#3447

kernel: overlays: Fix mcp23017's addr parameter
See: raspberrypi/linux#3449

kernel: Fix a sh1106-spi, ssd1306-spi, ssd1351-spi overlays
See: raspberrypi/linux#3451

kernel: overlays: add hdmi-backlight-hwhack-gpio-overlay
See: raspberrypi/linux#3453

kernel: Revert brcmfmac: Disable power management
kernel: brcmfmac: Increase power saving delay to 2s

firmware: platform: 2711: Support overclocking gpu frequencies
See: #1290
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Feb 6, 2020
kernel: configs: Add NFS 4.2 support
See: raspberrypi/linux#3397

kernel: overlays: dwc2: Increase RX FIFO size
See: raspberrypi/linux#3447

kernel: overlays: Fix mcp23017's addr parameter
See: raspberrypi/linux#3449

kernel: Fix a sh1106-spi, ssd1306-spi, ssd1351-spi overlays
See: raspberrypi/linux#3451

kernel: overlays: add hdmi-backlight-hwhack-gpio-overlay
See: raspberrypi/linux#3453

kernel: Revert brcmfmac: Disable power management
kernel: brcmfmac: Increase power saving delay to 2s

firmware: platform: 2711: Support overclocking gpu frequencies
See: raspberrypi/firmware#1290
popcornmix pushed a commit that referenced this issue Feb 20, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 20, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 25, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 25, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 6, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 10, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 23, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 23, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 27, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Mar 27, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Apr 1, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Apr 1, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Apr 7, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Apr 16, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Apr 16, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Apr 27, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue May 4, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue May 11, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue May 20, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue May 20, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jun 3, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
jpuhlman pushed a commit to MontaVista-OpenSourceTechnology/linux-mvista that referenced this issue Jun 8, 2020
Source: kernel.org
MR: 103889
Type: Enhancement
Disposition: Merged from https://github.com/raspberrypi/linux.git rpi-5.4.y
ChangeID: 06cad3784cedbfc4e3ad00f62163bad2f280a802
Description:

See: raspberrypi/linux#3397

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
popcornmix pushed a commit that referenced this issue Jun 10, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jun 17, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jun 26, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 1, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Jul 13, 2020
See: #3397

Signed-off-by: Phil Elwell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants