Repository navigation
Commit 8c7424c
J. Bruce Fields
nfsd4: don't try to encode conflicting owner if low on space
I ran into this corner case in testing: in theory clients can provide
state owners up to 1024 bytes long. In the sessions case there might be
a risk of this pushing us over the DRC slot size.
The conflicting owner isn't really that important, so let's humor a
client that provides a small maxresponsize_cached by allowing ourselves
to return without the conflicting owner instead of outright failing the
operation.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>1 parent f523601 commit 8c7424c
2 files changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1432 | 1432 | | |
1433 | 1433 | | |
1434 | 1434 | | |
1435 | | - | |
| 1435 | + | |
| 1436 | + | |
1436 | 1437 | | |
1437 | 1438 | | |
1438 | 1439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2878 | 2878 | | |
2879 | 2879 | | |
2880 | 2880 | | |
| 2881 | + | |
2881 | 2882 | | |
2882 | | - | |
| 2883 | + | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
2883 | 2893 | | |
| 2894 | + | |
2884 | 2895 | | |
2885 | 2896 | | |
2886 | 2897 | | |
2887 | 2898 | | |
2888 | 2899 | | |
2889 | 2900 | | |
2890 | 2901 | | |
2891 | | - | |
2892 | 2902 | | |
2893 | 2903 | | |
2894 | 2904 | | |
| |||
2905 | 2915 | | |
2906 | 2916 | | |
2907 | 2917 | | |
2908 | | - | |
| 2918 | + | |
2909 | 2919 | | |
2910 | 2920 | | |
2911 | 2921 | | |
| |||
0 commit comments