-int osc_rd_create_count(char *page, char **start, off_t off, int count,
- int *eof, void *data)
+static int osc_rd_prealloc_next_id(char *page, char **start, off_t off,
+ int count, int *eof, void *data)
+{
+ struct obd_device *obd = data;
+
+ if (obd == NULL)
+ return 0;
+
+ return snprintf(page, count, LPU64"\n",
+ obd->u.cli.cl_oscc.oscc_next_id);
+}
+
+static int osc_rd_prealloc_last_id(char *page, char **start, off_t off,
+ int count, int *eof, void *data)
+{
+ struct obd_device *obd = data;
+
+ if (obd == NULL)
+ return 0;
+
+ return snprintf(page, count, LPU64"\n",
+ obd->u.cli.cl_oscc.oscc_last_id);
+}
+
+static int osc_rd_checksum(char *page, char **start, off_t off, int count,
+ int *eof, void *data)