Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "LU-9019 osc: migrate to time64_t"
[fs/lustre-release.git]
/
lustre
/
osc
/
osc_page.c
diff --git
a/lustre/osc/osc_page.c
b/lustre/osc/osc_page.c
index
e929211
..
81d0c52
100644
(file)
--- a/
lustre/osc/osc_page.c
+++ b/
lustre/osc/osc_page.c
@@
-301,6
+301,7
@@
int osc_page_init(const struct lu_env *env, struct cl_object *obj,
return result;
}
return result;
}
+EXPORT_SYMBOL(osc_page_init);
/**
* Helper function called by osc_io_submit() for every page in an immediate
/**
* Helper function called by osc_io_submit() for every page in an immediate
@@
-582,7
+583,7
@@
long osc_lru_shrink(const struct lu_env *env, struct client_obd *cli,
}
pvec = (struct cl_page **)osc_env_info(env)->oti_pvec;
}
pvec = (struct cl_page **)osc_env_info(env)->oti_pvec;
- io =
&osc_env_info(env)->oti_io
;
+ io =
osc_env_thread_io(env)
;
spin_lock(&cli->cl_lru_list_lock);
if (force)
spin_lock(&cli->cl_lru_list_lock);
if (force)
@@
-684,6
+685,7
@@
long osc_lru_shrink(const struct lu_env *env, struct client_obd *cli,
}
RETURN(count > 0 ? count : rc);
}
}
RETURN(count > 0 ? count : rc);
}
+EXPORT_SYMBOL(osc_lru_shrink);
/**
* Reclaim LRU pages by an IO thread. The caller wants to reclaim at least
/**
* Reclaim LRU pages by an IO thread. The caller wants to reclaim at least
@@
-776,6
+778,7
@@
static int osc_lru_alloc(const struct lu_env *env, struct client_obd *cli,
struct l_wait_info lwi = LWI_INTR(LWI_ON_SIGNAL_NOOP, NULL);
struct osc_io *oio = osc_env_io(env);
int rc = 0;
struct l_wait_info lwi = LWI_INTR(LWI_ON_SIGNAL_NOOP, NULL);
struct osc_io *oio = osc_env_io(env);
int rc = 0;
+
ENTRY;
if (cli->cl_cache == NULL) /* shall not be in LRU */
ENTRY;
if (cli->cl_cache == NULL) /* shall not be in LRU */