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
LU-8066 osc: restore cur_dirty_grant_bytes
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nrs_orr.c
diff --git
a/lustre/ptlrpc/nrs_orr.c
b/lustre/ptlrpc/nrs_orr.c
index
38e2d05
..
9324dbd
100644
(file)
--- a/
lustre/ptlrpc/nrs_orr.c
+++ b/
lustre/ptlrpc/nrs_orr.c
@@
-1866,7
+1866,7
@@
static int nrs_orr_lprocfs_init(struct ptlrpc_service *svc)
{
int i;
- struct l
proc
fs_vars nrs_orr_lprocfs_vars[] = {
+ struct l
debug
fs_vars nrs_orr_lprocfs_vars[] = {
{ .name = "nrs_orr_quantum",
.fops = &ptlrpc_lprocfs_nrs_orr_quantum_fops },
{ .name = "nrs_orr_offset_type",
@@
-1884,8
+1884,9
@@
static int nrs_orr_lprocfs_init(struct ptlrpc_service *svc)
for (i = 0; i < ARRAY_SIZE(nrs_orr_lprocfs_vars); i++)
nrs_orr_lprocfs_vars[i].data = &lprocfs_orr_data;
- return ldebugfs_add_vars(svc->srv_debugfs_entry, nrs_orr_lprocfs_vars,
- NULL);
+ ldebugfs_add_vars(svc->srv_debugfs_entry, nrs_orr_lprocfs_vars, NULL);
+
+ return 0;
}
static const struct ptlrpc_nrs_pol_ops nrs_orr_ops = {
@@
-1918,7
+1919,7
@@
static int nrs_trr_lprocfs_init(struct ptlrpc_service *svc)
{
int i;
- struct l
proc
fs_vars nrs_trr_lprocfs_vars[] = {
+ struct l
debug
fs_vars nrs_trr_lprocfs_vars[] = {
{ .name = "nrs_trr_quantum",
.fops = &ptlrpc_lprocfs_nrs_orr_quantum_fops },
{ .name = "nrs_trr_offset_type",
@@
-1936,8
+1937,9
@@
static int nrs_trr_lprocfs_init(struct ptlrpc_service *svc)
for (i = 0; i < ARRAY_SIZE(nrs_trr_lprocfs_vars); i++)
nrs_trr_lprocfs_vars[i].data = &lprocfs_trr_data;
- return ldebugfs_add_vars(svc->srv_debugfs_entry, nrs_trr_lprocfs_vars,
- NULL);
+ ldebugfs_add_vars(svc->srv_debugfs_entry, nrs_trr_lprocfs_vars, NULL);
+
+ return 0;
}
/**