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
d1dab2c4
Commit
d1dab2c4
authored
16 years ago
by
Andreas Dilger
Browse files
Options
Downloads
Patches
Plain Diff
Branch HEAD
Fix line wrapping.
parent
79d81a45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lustre/llite/rw.c
+2
-3
2 additions, 3 deletions
lustre/llite/rw.c
with
2 additions
and
3 deletions
lustre/llite/rw.c
+
2
−
3
View file @
d1dab2c4
...
...
@@ -219,8 +219,7 @@ void ll_truncate(struct inode *inode)
if
(
unlikely
((
ll_i2sbi
(
inode
)
->
ll_flags
&
LL_SBI_CHECKSUM
)
&&
(
i_size_read
(
inode
)
&
~
CFS_PAGE_MASK
)))
{
/* If the truncate leaves behind a partial page, update its
* checksum. */
/* If the truncate leaves a partial page, update its checksum */
struct
page
*
page
=
find_get_page
(
inode
->
i_mapping
,
i_size_read
(
inode
)
>>
CFS_PAGE_SHIFT
);
...
...
@@ -934,7 +933,7 @@ static int queue_or_sync_write(struct obd_export *exp, struct inode *inode,
"sync write before EOF: size_index %lu, to %d
\n
"
,
size_index
,
to
);
to
=
CFS_PAGE_SIZE
;
}
else
if
(
to
!=
CFS_PAGE_SIZE
&&
llap
->
llap_page
->
index
==
size_index
)
{
}
else
if
(
to
!=
CFS_PAGE_SIZE
&&
llap
->
llap_page
->
index
==
size_index
){
int
size_to
=
i_size_read
(
inode
)
&
~
CFS_PAGE_MASK
;
LL_CDEBUG_PAGE
(
D_PAGE
,
llap
->
llap_page
,
"sync write at EOF: size_index %lu, to %d/%d
\n
"
,
...
...
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