~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/os/Journal.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-07-16 09:56:24 UTC
  • mfrom: (0.3.11)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120716095624-azr2w4hbhei1rxmx
Tags: upstream-0.48
ImportĀ upstreamĀ versionĀ 0.48

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    wait_on_full(false) { }
43
43
  virtual ~Journal() { }
44
44
 
45
 
  virtual int create() = 0;
46
 
  virtual int open(uint64_t fs_op_seq) = 0;
47
 
  virtual void close() = 0;
 
45
  virtual int check() = 0;   ///< check if journal appears valid
 
46
  virtual int create() = 0;  ///< create a fresh journal
 
47
  virtual int open(uint64_t fs_op_seq) = 0;  ///< open an existing journal
 
48
  virtual void close() = 0;  ///< close an open journal
48
49
 
49
50
  virtual void flush() = 0;
50
51
  virtual void throttle() = 0;