};
#define OFD_FMD_MAX_NUM_DEFAULT 128
-#define OFD_FMD_MAX_AGE_DEFAULT ((obd_timeout + 10) * CFS_HZ)
+#define OFD_FMD_MAX_AGE_DEFAULT ((obd_timeout + 10) * HZ)
enum {
LPROC_OFD_READ_BYTES = 0,
struct ofd_device *ofd)
{
/* Clients which don't support OBD_CONNECT_GRANT_PARAM cannot handle
- * a block size > page size and consume CFS_PAGE_SIZE of grant when
+ * a block size > page size and consume PAGE_CACHE_SIZE of grant when
* dirtying a page regardless of the block size */
return !!(ofd_obd(ofd)->obd_self_export != exp &&
ofd->ofd_blockbits > COMPAT_BSIZE_SHIFT &&
/* When ofd_grant_compat_disable is set, we don't grant any space to
* clients not supporting OBD_CONNECT_GRANT_PARAM.
* Otherwise, space granted to such a client is inflated since it
- * consumes CFS_PAGE_SIZE of grant space per block */
+ * consumes PAGE_CACHE_SIZE of grant space per block */
return !!(ofd_grant_compat(exp, ofd) && ofd->ofd_grant_compat_disable);
}