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
0f4403dd
Commit
0f4403dd
authored
19 years ago
by
alex
Browse files
Options
Downloads
Patches
Plain Diff
- code duplicate we got during landing b_hd_crypto
parent
963852e5
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lustre/osc/osc_create.c
+0
-43
0 additions, 43 deletions
lustre/osc/osc_create.c
with
0 additions
and
43 deletions
lustre/osc/osc_create.c
+
0
−
43
View file @
0f4403dd
...
@@ -128,49 +128,6 @@ int osc_create(struct obd_export *exp, struct obdo *oa,
...
@@ -128,49 +128,6 @@ int osc_create(struct obd_export *exp, struct obdo *oa,
spin_unlock
(
&
oscc
->
oscc_lock
);
spin_unlock
(
&
oscc
->
oscc_lock
);
RETURN
(
rc
);
RETURN
(
rc
);
}
}
while
(
try_again
)
{
/* If orphans are being recovered, then we must wait until
it is finished before we can continue with create. */
if
(
oscc_recovering
(
oscc
))
{
struct
l_wait_info
lwi
;
CDEBUG
(
D_HA
,
"%p: oscc recovery in progress, waiting
\n
"
,
oscc
);
lwi
=
LWI_TIMEOUT
(
MAX
(
obd_timeout
*
HZ
/
4
,
1
),
NULL
,
NULL
);
rc
=
l_wait_event
(
oscc
->
oscc_waitq
,
!
oscc_recovering
(
oscc
),
&
lwi
);
LASSERT
(
rc
==
0
||
rc
==
-
ETIMEDOUT
);
if
(
rc
==
-
ETIMEDOUT
)
{
CDEBUG
(
D_ERROR
,
"%p: timeout waiting on recovery
\n
"
,
oscc
);
RETURN
(
rc
);
}
CDEBUG
(
D_HA
,
"%p: oscc recovery over, waking up
\n
"
,
oscc
);
}
spin_lock
(
&
oscc
->
oscc_lock
);
if
(
oscc
->
oscc_flags
&
OSCC_FLAG_EXITING
)
{
spin_unlock
(
&
oscc
->
oscc_lock
);
break
;
}
if
(
oscc
->
oscc_flags
&
OSCC_FLAG_NOSPC
)
{
rc
=
-
ENOSPC
;
spin_unlock
(
&
oscc
->
oscc_lock
);
break
;
}
oscc
->
oscc_next_id
++
;
oa
->
o_id
=
oscc
->
oscc_next_id
;
try_again
=
0
;
spin_unlock
(
&
oscc
->
oscc_lock
);
CDEBUG
(
D_HA
,
"%s: returning objid "
LPU64
"
\n
"
,
oscc
->
oscc_obd
->
u
.
cli
.
cl_import
->
imp_target_uuid
.
uuid
,
oa
->
o_id
);
}
while
(
try_again
)
{
while
(
try_again
)
{
/* If orphans are being recovered, then we must wait until
/* If orphans are being recovered, then we must wait until
...
...
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