Commit 65d284a
ceph: use cap_wait_list only if debugfs is enabled
Only debugfs uses this list. By omitting it, we save some memory and
reduce lock contention on `caps_list_lock`.
Signed-off-by: Max Kellermann <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>1 parent 0c38364 commit 65d284a
3 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3067 | 3067 | | |
3068 | 3068 | | |
3069 | 3069 | | |
| 3070 | + | |
3070 | 3071 | | |
3071 | 3072 | | |
| 3073 | + | |
3072 | 3074 | | |
3073 | 3075 | | |
| 3076 | + | |
3074 | 3077 | | |
3075 | 3078 | | |
3076 | 3079 | | |
| |||
3079 | 3082 | | |
3080 | 3083 | | |
3081 | 3084 | | |
| 3085 | + | |
3082 | 3086 | | |
3083 | 3087 | | |
3084 | 3088 | | |
| |||
3097 | 3101 | | |
3098 | 3102 | | |
3099 | 3103 | | |
| 3104 | + | |
3100 | 3105 | | |
3101 | 3106 | | |
3102 | 3107 | | |
| 3108 | + | |
3103 | 3109 | | |
3104 | 3110 | | |
3105 | 3111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5505 | 5505 | | |
5506 | 5506 | | |
5507 | 5507 | | |
| 5508 | + | |
5508 | 5509 | | |
| 5510 | + | |
5509 | 5511 | | |
5510 | 5512 | | |
5511 | 5513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| 419 | + | |
| 420 | + | |
419 | 421 | | |
420 | 422 | | |
421 | 423 | | |
| |||
424 | 426 | | |
425 | 427 | | |
426 | 428 | | |
| 429 | + | |
| 430 | + | |
427 | 431 | | |
428 | 432 | | |
429 | 433 | | |
| |||
512 | 516 | | |
513 | 517 | | |
514 | 518 | | |
| 519 | + | |
515 | 520 | | |
| 521 | + | |
516 | 522 | | |
517 | 523 | | |
518 | 524 | | |
| |||
0 commit comments