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
3fb17172
Commit
3fb17172
authored
17 years ago
by
Walter Poxon
Browse files
Options
Downloads
Patches
Plain Diff
b=13478
i=adilger i=green
parent
a729dbf0
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lustre/liblustre/rw.c
+7
-7
7 additions, 7 deletions
lustre/liblustre/rw.c
with
7 additions
and
7 deletions
lustre/liblustre/rw.c
+
7
−
7
View file @
3fb17172
...
@@ -205,7 +205,7 @@ static int llu_glimpse_callback(struct ldlm_lock *lock, void *reqp)
...
@@ -205,7 +205,7 @@ static int llu_glimpse_callback(struct ldlm_lock *lock, void *reqp)
lvb
->
lvb_size
=
lli
->
lli_smd
->
lsm_oinfo
[
stripe
]
->
loi_kms
;
lvb
->
lvb_size
=
lli
->
lli_smd
->
lsm_oinfo
[
stripe
]
->
loi_kms
;
LDLM_DEBUG
(
lock
,
"i_size: %llu -> stripe number %u -> kms "
LPU64
,
LDLM_DEBUG
(
lock
,
"i_size: %llu -> stripe number %u -> kms "
LPU64
,
(
long
long
)
llu_i2stat
(
inode
)
->
st_size
,
stripe
,
lvb
->
lvb_size
);
(
__u64
)
llu_i2stat
(
inode
)
->
st_size
,
stripe
,
lvb
->
lvb_size
);
iput:
iput:
I_RELE
(
inode
);
I_RELE
(
inode
);
out:
out:
...
@@ -278,11 +278,11 @@ int llu_glimpse_size(struct inode *inode)
...
@@ -278,11 +278,11 @@ int llu_glimpse_size(struct inode *inode)
if
(
lli
->
lli_flags
&
LLIF_MDS_SIZE_LOCK
)
if
(
lli
->
lli_flags
&
LLIF_MDS_SIZE_LOCK
)
RETURN
(
0
);
RETURN
(
0
);
CDEBUG
(
D_DLMTRACE
,
"Glimpsing inode
%llu
\n
"
,
(
long
long
)
st
->
st_ino
);
CDEBUG
(
D_DLMTRACE
,
"Glimpsing inode
"
LPU64
"
\n
"
,
(
__u64
)
st
->
st_ino
);
if
(
!
lli
->
lli_smd
)
{
if
(
!
lli
->
lli_smd
)
{
CDEBUG
(
D_DLMTRACE
,
"No objects for inode
%llu
\n
"
,
CDEBUG
(
D_DLMTRACE
,
"No objects for inode
"
LPU64
"
\n
"
,
(
long
long
)
st
->
st_ino
);
(
__u64
)
st
->
st_ino
);
RETURN
(
0
);
RETURN
(
0
);
}
}
...
@@ -305,8 +305,8 @@ int llu_glimpse_size(struct inode *inode)
...
@@ -305,8 +305,8 @@ int llu_glimpse_size(struct inode *inode)
}
}
llu_merge_lvb
(
inode
);
llu_merge_lvb
(
inode
);
CDEBUG
(
D_DLMTRACE
,
"glimpse: size:
%llu
, blocks:
%llu
\n
"
,
CDEBUG
(
D_DLMTRACE
,
"glimpse: size:
"
LPU64
"
, blocks:
"
LPU64
"
\n
"
,
(
long
long
)
st
->
st_size
,
(
long
long
)
st
->
st_blocks
);
(
__u64
)
st
->
st_size
,
(
__u64
)
st
->
st_blocks
);
RETURN
(
rc
);
RETURN
(
rc
);
}
}
...
@@ -333,7 +333,7 @@ int llu_extent_lock(struct ll_file_data *fd, struct inode *inode,
...
@@ -333,7 +333,7 @@ int llu_extent_lock(struct ll_file_data *fd, struct inode *inode,
RETURN
(
0
);
RETURN
(
0
);
CDEBUG
(
D_DLMTRACE
,
"Locking inode %llu, start "
LPU64
" end "
LPU64
"
\n
"
,
CDEBUG
(
D_DLMTRACE
,
"Locking inode %llu, start "
LPU64
" end "
LPU64
"
\n
"
,
(
long
long
)
st
->
st_ino
,
policy
->
l_extent
.
start
,
(
__u64
)
st
->
st_ino
,
policy
->
l_extent
.
start
,
policy
->
l_extent
.
end
);
policy
->
l_extent
.
end
);
einfo
.
ei_type
=
LDLM_EXTENT
;
einfo
.
ei_type
=
LDLM_EXTENT
;
...
...
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