Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
b4927482
Commit
b4927482
authored
19 years ago
by
alex
Browse files
Options
Downloads
Patches
Plain Diff
- declare export non-connected in filter_init_server_data()
parent
671f74df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lustre/ldlm/ldlm_lib.c
+6
-5
6 additions, 5 deletions
lustre/ldlm/ldlm_lib.c
lustre/obdfilter/filter.c
+1
-0
1 addition, 0 deletions
lustre/obdfilter/filter.c
with
7 additions
and
5 deletions
lustre/ldlm/ldlm_lib.c
+
6
−
5
View file @
b4927482
...
@@ -719,10 +719,9 @@ int target_handle_connect(struct ptlrpc_request *req)
...
@@ -719,10 +719,9 @@ int target_handle_connect(struct ptlrpc_request *req)
/* Tell the client if we're in recovery. */
/* Tell the client if we're in recovery. */
/* If this is the first client, start the recovery timer */
/* If this is the first client, start the recovery timer */
CWARN
(
"%s: connection from %s@%s/%lu %st"
LPU64
"
\n
"
,
target
->
obd_name
,
cluuid
.
uuid
,
CWARN
(
"%s: connection from %s@%s/%lu %st"
LPU64
"
\n
"
,
target
->
obd_name
,
ptlrpc_peernid2str
(
&
req
->
rq_peer
,
peer_str
),
*
cfp
,
cluuid
.
uuid
,
ptlrpc_peernid2str
(
&
req
->
rq_peer
,
peer_str
),
*
cfp
,
target
->
obd_recovering
?
"recovering/"
:
""
,
target
->
obd_recovering
?
"recovering/"
:
""
,
conn_data
->
transno
);
conn_data
->
transno
);
if
(
target
->
obd_recovering
)
{
if
(
target
->
obd_recovering
)
{
lustre_msg_add_op_flags
(
req
->
rq_repmsg
,
MSG_CONNECT_RECOVERING
);
lustre_msg_add_op_flags
(
req
->
rq_repmsg
,
MSG_CONNECT_RECOVERING
);
...
@@ -1352,7 +1351,9 @@ static int target_recovery_thread(void *arg)
...
@@ -1352,7 +1351,9 @@ static int target_recovery_thread(void *arg)
/* If some clients haven't connected in time, evict them */
/* If some clients haven't connected in time, evict them */
if
(
obd
->
obd_abort_recovery
)
{
if
(
obd
->
obd_abort_recovery
)
{
int
stale
;
int
stale
;
CERROR
(
"some clients haven't connect in time, evict them ...
\n
"
);
CERROR
(
"some clients haven't connect in time (%d/%d),"
"evict them ...
\n
"
,
obd
->
obd_connected_clients
,
obd
->
obd_max_recoverable_clients
);
obd
->
obd_abort_recovery
=
0
;
obd
->
obd_abort_recovery
=
0
;
stale
=
class_disconnect_stale_exports
(
obd
,
connect_done
,
0
);
stale
=
class_disconnect_stale_exports
(
obd
,
connect_done
,
0
);
atomic_sub
(
stale
,
&
obd
->
obd_req_replay_clients
);
atomic_sub
(
stale
,
&
obd
->
obd_req_replay_clients
);
...
...
This diff is collapsed.
Click to expand it.
lustre/obdfilter/filter.c
+
1
−
0
View file @
b4927482
...
@@ -500,6 +500,7 @@ static int filter_init_server_data(struct obd_device *obd, struct file * filp)
...
@@ -500,6 +500,7 @@ static int filter_init_server_data(struct obd_device *obd, struct file * filp)
spin_lock_init
(
&
fed
->
fed_lock
);
spin_lock_init
(
&
fed
->
fed_lock
);
fcd
=
NULL
;
fcd
=
NULL
;
exp
->
exp_connected
=
0
;
exp
->
exp_req_replay_needed
=
1
;
exp
->
exp_req_replay_needed
=
1
;
exp
->
exp_lock_replay_needed
=
1
;
exp
->
exp_lock_replay_needed
=
1
;
atomic_inc
(
&
obd
->
obd_req_replay_clients
);
atomic_inc
(
&
obd
->
obd_req_replay_clients
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment