]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
filestore: document the btrfs_* fields
authorSage Weil <sage@newdream.net>
Thu, 10 Nov 2011 18:51:07 +0000 (10:51 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 11 Nov 2011 05:12:38 +0000 (21:12 -0800)
Signed-off-by: Sage Weil <sage@newdream.net>
src/os/FileStore.h

index d4be5d145a36f6a83c6372c8e5acbee43e080685..033dad31faeaeba4ec135c9c588355f0f9839fc3 100644 (file)
@@ -49,14 +49,14 @@ class FileStore : public JournalingObjectStore,
   
   bool btrfs;                   ///< fs is btrfs
   bool btrfs_stable_commits;    ///< we are using btrfs snapshots for a stable journal refernce
-  uint64_t blk_size;
-  bool btrfs_trans_start_end;
-  bool btrfs_clone_range;
-  bool btrfs_snap_create;
-  bool btrfs_snap_destroy;
-  bool btrfs_snap_create_v2;
-  bool btrfs_wait_sync;
-  bool ioctl_fiemap;
+  uint64_t blk_size;            ///< fs block size
+  bool btrfs_trans_start_end;   ///< btrfs trans start/end ioctls are supported
+  bool btrfs_clone_range;       ///< btrfs clone range ioctl is supported
+  bool btrfs_snap_create;       ///< btrfs snap create ioctl is supported
+  bool btrfs_snap_destroy;      ///< btrfs snap destroy ioctl is supported
+  bool btrfs_snap_create_v2;    ///< btrfs snap create v2 ioctl (async!) is supported
+  bool btrfs_wait_sync;         ///< btrfs wait sync ioctl is supported
+  bool ioctl_fiemap;            ///< fiemap ioctl is supported
   int fsid_fd, op_fd;
 
   int basedir_fd, current_fd;