Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
19d973f0
Commit
19d973f0
authored
Oct 31, 2002
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge jfs@jfs.bkbits.net:linux-2.5
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
parents
2b738648
02981bb9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
fs/jfs/jfs_txnmgr.c
fs/jfs/jfs_txnmgr.c
+14
-2
No files found.
fs/jfs/jfs_txnmgr.c
View file @
19d973f0
...
@@ -2209,9 +2209,21 @@ void txForce(struct tblock * tblk)
...
@@ -2209,9 +2209,21 @@ void txForce(struct tblock * tblk)
tlck
->
flag
&=
~
tlckWRITEPAGE
;
tlck
->
flag
&=
~
tlckWRITEPAGE
;
/* do not release page to freelist */
/* do not release page to freelist */
/*
* The "right" thing to do here is to
* synchronously write the metadata.
* With the current implementation this
* is hard since write_metapage requires
* us to kunmap & remap the page. If we
* have tlocks pointing into the metadata
* pages, we don't want to do this. I think
* we can get by with synchronously writing
* the pages when they are released.
*/
assert
(
atomic_read
(
&
mp
->
nohomeok
));
assert
(
atomic_read
(
&
mp
->
nohomeok
));
hold_metapage
(
mp
,
0
);
set_bit
(
META_dirty
,
&
mp
->
flag
);
write_metapage
(
mp
);
set_bit
(
META_sync
,
&
mp
->
flag
);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment