keroscarel / s3backer

Automatically exported from code.google.com/p/s3backer
GNU General Public License v2.0
0 stars 0 forks source link

Allow configuring a limit on the number of outstanding dirty blocks #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
s3backer currently allows an unlimited number of blocks in the block cache
to be dirty at the same time.

Some situations may want to limit this number to avoid the degree of
inconsistency that can occur in case of a crash.

Suggest adding a new flag `--blockCacheMaxDirty=NUMBLOCKS`. When a new
write was attempted while the maximum number of dirty blocks had already
been reached, then the subsequent write would block.

Original issue reported on code.google.com by archie.c...@gmail.com on 1 Oct 2009 at 7:59

GoogleCodeExporter commented 8 years ago
Added new flag `--blockCacheMaxDirty` in r398.

Original comment by archie.c...@gmail.com on 13 Oct 2009 at 10:10

GoogleCodeExporter commented 8 years ago

Original comment by archie.c...@gmail.com on 22 Oct 2010 at 8:01