Whamcloud - gitweb
- add the /proc tunables to control the number of pages per rpc and the
authorzab <zab>
Sat, 26 Jul 2003 01:38:11 +0000 (01:38 +0000)
committerzab <zab>
Sat, 26 Jul 2003 01:38:11 +0000 (01:38 +0000)
  number of concurrent rpcs
- make sure to check to fire new rpcs as an rpc completes
- push the rpc concurrency checks into the right place
- rearrange the rpc firing logic so it doesn't get stuck :/

lustre/osc/osc_internal.h

index c064f88..58c3d4c 100644 (file)
@@ -15,4 +15,15 @@ int osc_rpcd_addref(void);
 int osc_rpcd_decref(void);
 void osc_rpcd_add_req(struct ptlrpc_request *req);
 
+int osc_read_tunable(char *page, char **start, off_t off, int count,
+                     int *eof, void *data, atomic_t *tunable);
+
+int osc_write_tunable(struct file *file, const char *buffer,
+                      unsigned long count, void *data, 
+                      atomic_t *tunable, unsigned int max);
+
+/* osc/lproc_osc.c */
+extern atomic_t osc_max_pages_per_rpc;
+extern atomic_t osc_max_rpcs_in_flight;
+
 #endif /* OSC_INTERNAL_H */