gkostka
782631e938
Change include type policy
Since all headers are ins separate directory, includes could be
done by using <> instead of "".
8 years ago
Kaho Ng
8281a97813
ext4_journal: numorous changes.
- Do not utilize jbd_block_rec::buf because it can be unreliable that
jbd_block_rec::buf may be freed.
- Do not need to flush buffers before a new transaction is going to reference
them.
- add some comments to the changes.
9 years ago
ngkaho1234
a45154a49b
Reconstruct source directory tree.
9 years ago
ngkaho1234
ee889f7d84
ext4_bcache: do not allow cache shaking when callback is invoked.
9 years ago
gkostka
aa77b316bf
ext4_bcache: remove EXT4_BCACHE_STATIC_INSTANCE obsolete macro
Cache can't be created in static way anymore
9 years ago
ngkaho1234
fbfb8e6fba
ext4_bcache: add BC_TMP flag.
9 years ago
ngkaho1234
0c7f3604a3
Introduce initial support of ext3/4 journalling.
To achieve this, a glue layer between block cache and lwext4 core routines
is added.
9 years ago
ngkaho1234
8f8a935ae1
Move tree.h and queue.h into misc/ directory.
9 years ago
ngkaho1234
d5061ab613
ext4_balloc: invalidate buffers which have the blocks freed.
9 years ago
ngkaho1234
21375b1066
ext4_bcache: add ext4_bcache_find_get routines.
9 years ago
ngkaho1234
fa3bffb20e
ext4_bcache: add ext4_bcache_cleanup routine.
9 years ago
ngkaho1234
3b136f8a70
ext4_bcache: add new flag BC_FLUSH.
9 years ago
ngkaho1234
9195095bf3
ext4_bcache: manipulate buffer refctr by two helpers
- ext4_bcache_inc_ref
- ext4_bcache_dec_ref
9 years ago
ngkaho1234
c1a9671e59
Deprecate uptodate and dirty fields in ext4_block.
9 years ago
ngkaho1234
f7eb061d6c
ext4_blockdev: a number of changes below
- call buf->end_write() during ext4_block_flush_buf.
- For ext4_block_get, call ext4_blocks_get_direct instead
of directly calling bdev->bread().
9 years ago
gkostka
6ce2fe26ac
Change preprocessor macros to inline functions
9 years ago
ngkaho1234
5fa8a1a7d4
ext4_bcache & ext4_blockdev: unify buffer flushing code.
9 years ago
ngkaho1234
08c696765f
ext4_bcache: remove free_delay member from ext4_bcache.
9 years ago
ngkaho1234
d3b8847a0e
ext4_bcache & ext4_blockdev: Buffer cache rework.
9 years ago
gkostka
4f4561a7fa
Add #ifdef __cplusplus to all header files
9 years ago
gkostka
8f8f6a2297
Code format in bcache & blockdev
9 years ago
ngkaho1234
23644a4048
Reworks on buffer management
1. ext4_bcache: use flags arrayinstead of dirty boolean array.
2. ext4_blockdev: ext4_block_get_noread added.
9 years ago
gkostka
d15d9a8f91
Introduce EXT4_BLOCK_ZERO macro to initialize ext4_block
9 years ago
gkostka
c897dc5a64
Linux line-endings
9 years ago
gkostka
2651b659e1
Linux codestyle format (tabs indenation)
9 years ago
gkostka
650f1026e4
Fix comment typos
10 years ago
gkostka
eddcd695d0
Improve include policy
10 years ago
gkostka
1a5e7936d0
Change structure braces policy
10 years ago
gkostka
6b299ffc4f
clang-format: ext4_bcache
10 years ago
gkostka
ee301d4abb
clang-format: ext4_bcache
10 years ago
gkostka
a160f264f3
Block cache metadata staticly alocated.
Blockdev opt.
11 years ago
gkostka
029801c149
Write back cache mode.
11 years ago
gkostka
d36c74f96b
Update cache mode.
11 years ago
gkostka
ead60f17e6
Removed nasty tabs.
11 years ago
gkostka
d868262d36
Update directory tree.
11 years ago
gkostka
8cdd8add65
Block cache free optimized.
Stack usage improvement.
11 years ago
gkostka
5f8ffa50ab
Code format.
11 years ago
gkostka
aa0d32fd7d
Code format.
11 years ago
gkostka
4f7ba4713a
.
11 years ago