The unified diff between revisions [6676c716..] and [816b792b..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/fs/ufs/store_dir_ufs.c'
#
#
# patch "src/fs/ufs/store_dir_ufs.c"
# from [4793d2c314a1b2a0085408592b65bb858ab30058]
# to [dccf7803c07b1fc7e38e934e671a166bb2d8f560]
#
============================================================
--- src/fs/ufs/store_dir_ufs.c 4793d2c314a1b2a0085408592b65bb858ab30058
+++ src/fs/ufs/store_dir_ufs.c dccf7803c07b1fc7e38e934e671a166bb2d8f560
@@ -104,6 +104,7 @@ static STCHECKOBJ storeUfsDirCheckObj;
static STDUMP storeUfsDirDump;
static STMAINTAINFS storeUfsDirMaintain;
static STCHECKOBJ storeUfsDirCheckObj;
+static STCHECKLOADAV storeUfsDirCheckLoadAv;
static STREFOBJ storeUfsDirRefObj;
static STUNREFOBJ storeUfsDirUnrefObj;
static QS rev_int_sort;
@@ -1621,6 +1622,19 @@ storeUfsDirCheckObj(SwapDir * SD, const
}
/*
+ * storeUfsDirCheckLoadAv
+ *
+ * Return 1 whether the store isn't too busy to service the current operation,
+ * 0 otherwise.
+ */
+char
+storeUfsDirCheckLoadAv(SwapDir *SD, store_op_t op)
+{
+ /* ufs will always be fine doing IO. */
+ return 1;
+}
+
+/*
* storeUfsDirRefObj
*
* This routine is called whenever an object is referenced, so we can
@@ -1906,6 +1920,7 @@ storeUfsDirParse(SwapDir * sd, int index
sd->statfs = storeUfsDirStats;
sd->maintainfs = storeUfsDirMaintain;
sd->checkobj = storeUfsDirCheckObj;
+ sd->checkload = storeUfsDirCheckLoadAv;
sd->refobj = storeUfsDirRefObj;
sd->unrefobj = storeUfsDirUnrefObj;
sd->callback = NULL;