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
nexedi
linux
Commits
e2fffa02
Commit
e2fffa02
authored
Mar 24, 2003
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge shaggy.austin.ibm.com:/shaggy/bk/linus-2.5
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
parents
28079d2b
a2bc3d8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
fs/jfs/jfs_txnmgr.c
fs/jfs/jfs_txnmgr.c
+3
-4
No files found.
fs/jfs/jfs_txnmgr.c
View file @
e2fffa02
...
@@ -380,8 +380,8 @@ tid_t txBegin(struct super_block *sb, int flag)
...
@@ -380,8 +380,8 @@ tid_t txBegin(struct super_block *sb, int flag)
tblk
=
tid_to_tblock
(
t
);
tblk
=
tid_to_tblock
(
t
);
if
((
tblk
->
next
==
0
)
&&
(
current
!=
jfsCommitTask
))
{
if
((
tblk
->
next
==
0
)
&&
!
(
flag
&
COMMIT_FORCE
))
{
/*
Save one tblk for jfsCommit thread
*/
/*
Don't let a non-forced transaction take the last tblk
*/
jfs_info
(
"txBegin: waiting for free tid"
);
jfs_info
(
"txBegin: waiting for free tid"
);
INCREMENT
(
TxStat
.
txBegin_freetid
);
INCREMENT
(
TxStat
.
txBegin_freetid
);
TXN_SLEEP
(
&
TxAnchor
.
freewait
);
TXN_SLEEP
(
&
TxAnchor
.
freewait
);
...
@@ -2991,8 +2991,7 @@ int jfs_sync(void *arg)
...
@@ -2991,8 +2991,7 @@ int jfs_sync(void *arg)
* when it is committed
* when it is committed
*/
*/
TXN_UNLOCK
();
TXN_UNLOCK
();
tid
=
txBegin
(
ip
->
i_sb
,
tid
=
txBegin
(
ip
->
i_sb
,
COMMIT_INODE
);
COMMIT_INODE
|
COMMIT_FORCE
);
rc
=
txCommit
(
tid
,
1
,
&
ip
,
0
);
rc
=
txCommit
(
tid
,
1
,
&
ip
,
0
);
txEnd
(
tid
);
txEnd
(
tid
);
up
(
&
jfs_ip
->
commit_sem
);
up
(
&
jfs_ip
->
commit_sem
);
...
...
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