Merge branch '2016-03-08-cache-writeback' into v0.7-devel

This commit is contained in:
Joe Thornber
2016-06-14 16:30:16 +01:00
23 changed files with 1978 additions and 19 deletions

View File

@ -19,6 +19,7 @@
#include "block.h"
#include "base/error_string.h"
#include "block-cache/io_engine.h"
#include <errno.h>
#include <fcntl.h>
@ -38,8 +39,6 @@ namespace {
using namespace std;
int const DEFAULT_MODE = 0666;
unsigned const SECTOR_SHIFT = 9;
int const OPEN_FLAGS = O_DIRECT;
// FIXME: introduce a new exception for this, or at least lift this