ngkaho1234
d5061ab613
ext4_balloc: invalidate buffers which have the blocks freed.
9 years ago
ngkaho1234
46c3c339d1
ext4: make sure blocks are not contaminated with data in block cache.
9 years ago
ngkaho1234
01423f78d0
ext4_blockdev: add ext4_block_flush_lba routine.
9 years ago
ngkaho1234
9fe8815522
ext4_journal: add jbd_trans_try_revoke_block routine.
9 years ago
ngkaho1234
29b69c630d
ext4_journal: keep track of blocks added to a transaction.
9 years ago
ngkaho1234
21375b1066
ext4_bcache: add ext4_bcache_find_get routines.
9 years ago
ngkaho1234
e21fe5fe45
ext4: file data read/write now do direct io in case of unaligned io.
9 years ago
ngkaho1234
cb473bbcea
ext4_journal: set buffer dirty if it does not belong to any transaction.
When calling jbd_trans_set_block_dirty, if a buffer does not belong to
any other transaction, it will be set dirty.
9 years ago
ngkaho1234
1366373d0c
ext4: remove unnecessary EXT4_MP_UNLOCK in ext4_fsymlink_set.
9 years ago
ngkaho1234
02cad7eee3
ext4_journal: add trans parameter to jbd_trans_get_access routine.
9 years ago
ngkaho1234
e353c4e181
ext4_journal: flush transactions on cp_queue with another method.
In the past, transactions on checkpoint queue are flushed by
ext4_block_cache_flush routine.
9 years ago
ngkaho1234
f3d5e9676d
ext4_journal: two changes on adding block descriptor to a transaction.
- jbd_trans_add_block is renamed to jbd_trans_set_block_dirty
- jbd_trans_get_access routine should be called to gain access
to a buffer.
9 years ago
ngkaho1234
fa3bffb20e
ext4_bcache: add ext4_bcache_cleanup routine.
9 years ago
ngkaho1234
3fd80de784
ext4_bcache: warn on dropping any referenced buffers.
9 years ago
ngkaho1234
3cd8523e39
ext4_blockdev: flush data only when buffer is dirty and up-to-date.
9 years ago
ngkaho1234
79b5a45004
fs_test/lwext4_generic: free rw_buff after use.
9 years ago
ngkaho1234
5b602a240e
ext4_journal: fix journalling journal inode resulting in SIGSEGV.
9 years ago
ngkaho1234
ad9c06e29a
ext4_journal: clear end_write and end_write_arg if buffer is not dirty.
9 years ago
ngkaho1234
1ff612f04d
ext4_journal: initialize block tag with 0 before writing to it.
9 years ago
ngkaho1234
398c113aca
ext4_journal: code logic changes on jbd_trans_add_block.
Now jbd_trans_add_block should be called before making any
modications on the buffer.
9 years ago
ngkaho1234
2ad6d9ab96
ext4_blockdev: allow flushing data to disk while refcount is not 0.
9 years ago
ngkaho1234
faea10c2b5
ext4_journal: make trans the argument passing to jbd_trans_end_write.
9 years ago
gkostka
4253692dd4
Add to readme new windows build instruction
9 years ago
ngkaho1234
d44c244db5
ext4_journal: clear end_write and end_write_arg fields when appropriate.
9 years ago
gkostka
13025de0e6
ext4_journal: add static keyword to all private functions
9 years ago
gkostka
d9eb4d52ed
ext4: some style fixes & doxygen comments
9 years ago
gkostka
e941966c0a
ext4_xattr: little style fix
9 years ago
ngkaho1234
880e692101
ext4_journal: add jbd_journal_commit_trans routine.
9 years ago
ngkaho1234
03a75d6f3b
ext4_journal: mark buffers invalid if transaction is aborted.
9 years ago
ngkaho1234
3cf7bf8bd1
ext4_journal: add comments to the code part 2.
9 years ago
ngkaho1234
b465297573
ext4_journal: add comments to the code part 1.
9 years ago
ngkaho1234
cb10287db2
ext4: enable write-back mode when undergoing journal test.
9 years ago
ngkaho1234
f92b4c68c2
ext4: stop journalling when journalling test is finished.
9 years ago
ngkaho1234
b8f9e381ce
ext4_journal: forcibly flush data to disk when stop journalling.
9 years ago
ngkaho1234
740927e660
ext4_journal: wrap around journal->start if it overflows.
9 years ago
ngkaho1234
824e15d0a2
ext4_journal: add jbd_journal_commit_all routine.
9 years ago
ngkaho1234
6cb2cd7182
ext4_journal: flush all data to disk when journal is full.
9 years ago
ngkaho1234
1e40e86f90
ext4_journal: IO operations on journal inode are written-through.
9 years ago
ngkaho1234
8fbe41ad91
ext4_bcache: do not flush data in an invalid buffer.
9 years ago
ngkaho1234
3b136f8a70
ext4_bcache: add new flag BC_FLUSH.
9 years ago
ngkaho1234
e299c8d660
ext4_blockdev: add ext4_block_cache_flush routine.
9 years ago
ngkaho1234
85a64ca068
ext4_journal: one bugfix plus one code logic changes below.
- fix referencing jbd_buf->block that may be freed.
- allow having multiple transaction checkpoints.
9 years ago
ngkaho1234
45d2d1fe5e
ext4_journal: handle EXT4_FINCOM_RECOVER flag properly.
9 years ago
ngkaho1234
4f5c65dc00
ext4_journal: employ better ways to handle revoke blocks during checkpoint.
9 years ago
ngkaho1234
1f9d420fe0
ext4_journal: fix wrong endianess of revoke header's count field.
9 years ago
ngkaho1234
e970afced2
ext4_journal: some changes below.
- check whether buffer going to be added is dirty.
- skip checkpoint on transactions having no data block.
9 years ago
ngkaho1234
9cc36f15cc
ext4: add tests on revoke table of journal to ext4_test_journal.
9 years ago
ngkaho1234
49da2ec210
ext4_journal: fixes on numorous bugs, see below.
- UUID not being copied to tail of a block tag when needed.
- checkpoint queue not initialized.
- ext4_block_set on non-existing journal bdev.
- journal superblock not flushed to disk immediately.
9 years ago
ngkaho1234
07ef5d4916
ext4: more codes on journal testing.
9 years ago
ngkaho1234
fc4574f095
ext4_journal: Fix s_first field being touched accidentally.
9 years ago