summaryrefslogtreecommitdiff
path: root/test/FallocFileAllocationIteratorTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 23:32:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 23:32:38 +0900
commitd5ffa2532da9283abaf18d5ca4e58d07a8b2f405 (patch)
tree25ce2972b76194c42f1b283f814f837d53b10c25 /test/FallocFileAllocationIteratorTest.cc
parent9a6f88c162bc49d8e5bbefdcd2cf239706c3d0d9 (diff)
AbstractDiskWriter::closeFile(): Throw exception if close() failed.
~AbstractDiskWriter calles closeFile(), but suppresses exception. MultiDiskAdaptor::closeFile() logs error if child DiskWriter::closeFile() throws exception. This exception is not rethrown. If at least one exception is caught, MultiDiskAdaptor::closeFile() throws new DlAbortEx. RequestGroupMan::closeFile() just logs exception and suppress each exception. Generally, don't call closeFile() in destructor. If you need to call it, it must suppress the exception.
Diffstat (limited to 'test/FallocFileAllocationIteratorTest.cc')
0 files changed, 0 insertions, 0 deletions