Ceph and btrfs - disable copy-on-write?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When starting an OSD in a Docker container (so the volume is btrfs), we see the following output:

2015-01-24 16:48:30.511813 7f9f3d066900  0 ceph version 0.87 (c51c8f9d80fa4e0168aa52685b8de40e42758578), process ceph-osd, pid 1
2015-01-24 16:48:30.522509 7f9f3d066900  0 filestore(/var/lib/ceph/osd/ceph-0) backend btrfs (magic 0x9123683e)
2015-01-24 16:48:30.535455 7f9f3d066900  0 genericfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_features: FIEMAP ioctl is supported and appears to work
2015-01-24 16:48:30.535519 7f9f3d066900  0 genericfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_features: FIEMAP ioctl is disabled via 'filestore fiemap' config option
2015-01-24 16:48:30.628612 7f9f3d066900  0 genericfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_features: syncfs(2) syscall fully supported (by glibc and kernel)
2015-01-24 16:48:30.628960 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: CLONE_RANGE ioctl is supported
2015-01-24 16:48:30.629211 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: failed to create simple subvolume test_subvol: (17) File exists
2015-01-24 16:48:30.629509 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: SNAP_CREATE is supported
2015-01-24 16:48:30.630487 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: SNAP_DESTROY failed: (1) Operation not permitted
2015-01-24 16:48:30.630763 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: snaps enabled, but no SNAP_DESTROY ioctl; DISABLING
2015-01-24 16:48:30.631744 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: START_SYNC is supported (transid 67)
2015-01-24 16:48:30.639763 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: WAIT_SYNC is supported
2015-01-24 16:48:30.639914 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: removing old async_snap_test
2015-01-24 16:48:30.640178 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: failed to remove old async_snap_test: (1) Operation not permitted
2015-01-24 16:48:30.641138 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: SNAP_CREATE_V2 is supported
2015-01-24 16:48:30.641387 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: SNAP_DESTROY failed: (1) Operation not permitted
2015-01-24 16:48:30.641528 7f9f3d066900  0 btrfsfilestorebackend(/var/lib/ceph/osd/ceph-0) detect_feature: failed to remove test_subvol: (1) Operation not permitted
2015-01-24 16:48:30.651029 7f9f3d066900  0 filestore(/var/lib/ceph/osd/ceph-0) mount: enabling WRITEAHEAD journal mode: checkpoint is not enabled
2015-01-24 16:48:30.651282 7f9f3d066900 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
2015-01-24 16:48:30.652322 7f9f3d066900  1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 19: 5368709120 bytes, block size 4096 bytes, directio = 1, aio = 0
2015-01-24 16:48:30.652945 7f9f3d066900  1 journal _open /var/lib/ceph/osd/ceph-0/journal fd 19: 5368709120 bytes, block size 4096 bytes, directio = 1, aio = 0
2015-01-24 16:48:30.654462 7f9f3d066900  1 journal close /var/lib/ceph/osd/ceph-0/journal

We're considering disabling copy-on-write for the directory to improve write performance. Are there any recommendations for or against this?

Thanks!

Chris
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux