diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-03 14:10:33 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-03 14:10:33 -0400 |
| commit | 20bec8ab1458c24bed0d5492ee15d87807fc415a (patch) | |
| tree | e5f910947dbe314b96a591e41e2cfb2d3322caad /include/linux | |
| parent | 18b34b9546dc192d978dda940673f40928d2e36e (diff) | |
| parent | e7c8f5079ed9ec9e6eb1abe3defc5fb4ebfdf1cb (diff) | |
Merge branch 'ext3-latency-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
* 'ext3-latency-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4:
ext3: Add replace-on-rename hueristics for data=writeback mode
ext3: Add replace-on-truncate hueristics for data=writeback mode
ext3: Use WRITE_SYNC for commits which are caused by fsync()
block_write_full_page: Use synchronous writes for WBC_SYNC_ALL writebacks
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ext3_fs.h | 1 | ||||
| -rw-r--r-- | include/linux/jbd.h | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index e263acaa405b..634a5e5aba3e 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h | |||
| @@ -208,6 +208,7 @@ static inline __u32 ext3_mask_flags(umode_t mode, __u32 flags) | |||
| 208 | #define EXT3_STATE_JDATA 0x00000001 /* journaled data exists */ | 208 | #define EXT3_STATE_JDATA 0x00000001 /* journaled data exists */ |
| 209 | #define EXT3_STATE_NEW 0x00000002 /* inode is newly created */ | 209 | #define EXT3_STATE_NEW 0x00000002 /* inode is newly created */ |
| 210 | #define EXT3_STATE_XATTR 0x00000004 /* has in-inode xattrs */ | 210 | #define EXT3_STATE_XATTR 0x00000004 /* has in-inode xattrs */ |
| 211 | #define EXT3_STATE_FLUSH_ON_CLOSE 0x00000008 | ||
| 211 | 212 | ||
| 212 | /* Used to pass group descriptor data when online resize is done */ | 213 | /* Used to pass group descriptor data when online resize is done */ |
| 213 | struct ext3_new_group_input { | 214 | struct ext3_new_group_input { |
diff --git a/include/linux/jbd.h b/include/linux/jbd.h index 64246dce5663..2c6943152c21 100644 --- a/include/linux/jbd.h +++ b/include/linux/jbd.h | |||
| @@ -552,6 +552,11 @@ struct transaction_s | |||
| 552 | */ | 552 | */ |
| 553 | int t_handle_count; | 553 | int t_handle_count; |
| 554 | 554 | ||
| 555 | /* | ||
| 556 | * This transaction is being forced and some process is | ||
| 557 | * waiting for it to finish. | ||
| 558 | */ | ||
| 559 | int t_synchronous_commit:1; | ||
| 555 | }; | 560 | }; |
| 556 | 561 | ||
| 557 | /** | 562 | /** |
