Skip to content

Commit 899af6b

Browse files
Merge pull request #213096 from b-ahibbard/mchad1-patch
PR #99185
2 parents 8421d3f + f645943 commit 899af6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-netapp-files/performance-linux-nfs-read-ahead.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.service: azure-netapp-files
1212
ms.workload: storage
1313
ms.tgt_pltfrm: na
1414
ms.topic: conceptual
15-
ms.date: 02/02/2022
15+
ms.date: 09/29/2022
1616
ms.author: anfdocs
1717
---
1818
# Linux NFS read-ahead best practices for Azure NetApp Files
@@ -100,7 +100,7 @@ To persistently set read-ahead for NFS mounts, `udev` rules can be written as fo
100100

101101
1. Create and test `/etc/udev/rules.d/99-nfs.rules`:
102102

103-
`SUBSYSTEM=="bdi", ACTION=="add", PROGRAM="/bin/awk -v bdi=$kernel 'BEGIN{ret=1} {if ($4 == bdi) {ret=0}} END{exit ret}' /proc/fs/nfsfs/volumes", ATTR{read_ahead_kb}="15380"`
103+
`SUBSYSTEM=="bdi", ACTION=="add", PROGRAM="<absolute_path>/awk -v bdi=$kernel 'BEGIN{ret=1} {if ($4 == bdi) {ret=0}} END{exit ret}' /proc/fs/nfsfs/volumes", ATTR{read_ahead_kb}="15380"`
104104

105105
2. Apply the `udev` rule:
106106

0 commit comments

Comments
 (0)