mirror of https://github.com/vitalif/e2fsprogs
unix_io.c (find_cached_block): Fixed bug which caused some clean
blocks to be erroneously marked as dirty, so they would get written back to the disk before they are evicted from the cache. Harmless, but it slows down e2fsck significantly.bitmap-optimize
parent
cbc25bc70b
commit
1d47dfb91e
|
@ -1,3 +1,11 @@
|
|||
2002-11-09 <tytso@snap.thunk.org>
|
||||
|
||||
* unix_io.c (find_cached_block): Fixed bug which caused some clean
|
||||
blocks to be erroneously marked as dirty, so they would
|
||||
get written back to the disk before they are evicted from
|
||||
the cache. Harmless, but it slows down e2fsck
|
||||
significantly.
|
||||
|
||||
2002-11-08 Theodore Ts'o <tytso@mit.edu>
|
||||
|
||||
* Release of E2fsprogs 1.31
|
||||
|
|
|
@ -252,6 +252,7 @@ static struct unix_cache *find_cached_block(io_channel channel,
|
|||
cache->block, 1, cache->buf);
|
||||
}
|
||||
cache->in_use = 1;
|
||||
cache->dirty = 0;
|
||||
cache->block = block;
|
||||
cache->access_time = ++data->access_time;
|
||||
return cache;
|
||||
|
|
Loading…
Reference in New Issue