Wake up the buffer daemon if necessary */
| 972 | |
| 973 | /* Wake up the buffer daemon if necessary */ |
| 974 | static void |
| 975 | bd_wakeup(void) |
| 976 | { |
| 977 | |
| 978 | mtx_lock(&bdlock); |
| 979 | if (bd_request == 0) { |
| 980 | bd_request = 1; |
| 981 | wakeup(&bd_request); |
| 982 | } |
| 983 | mtx_unlock(&bdlock); |
| 984 | } |
| 985 | |
| 986 | /* |
| 987 | * Adjust the maxbcachbuf tunable. |
no test coverage detected