rocksdb/env
Mike Kolupaev bc09c8a0db Fix crash in PosixWritableFile::Close() when fstat() fails
Summary:
We had a crash in this code: `fstat()` failed; `file_stats` contained garbage, in particular `file_stats.st_blksize == 6`; the expression `file_stats.st_blocks / (file_stats.st_blksize / 512)` divided by zero.
Closes https://github.com/facebook/rocksdb/pull/2420

Differential Revision: D5216110

Pulled By: al13n321

fbshipit-source-id: 6d8fc5e7c4f98c1139e68c7829ebdbac68b0fce0
2017-06-08 19:56:22 -07:00
..
env.cc disable direct reads for log and manifest and add direct io to tests 2017-05-22 18:41:28 -07:00
env_basic_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
env_chroot.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_chroot.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_hdfs.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
env_posix.cc New API for background work in single thread pool 2017-05-23 11:12:27 -07:00
env_test.cc disable direct reads for log and manifest and add direct io to tests 2017-05-22 18:41:28 -07:00
io_posix.cc Fix crash in PosixWritableFile::Close() when fstat() fails 2017-06-08 19:56:22 -07:00
io_posix.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
mock_env.cc Fix mock_env.cc uninitialized variable 2017-06-08 17:41:59 -07:00
mock_env.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
mock_env_test.cc Move some files under util/ to separate dirs 2017-04-05 19:09:16 -07:00
posix_logger.h Make PosixLogger::flush_pending_ atomic 2017-04-28 17:07:56 -07:00