From 2611a57fdb64335b95f6f0c62bcfb0cd597a7c87 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 11 Dec 2009 10:18:03 -0800 Subject: [PATCH] filestore: disable USERTRANS for now --- src/os/FileStore.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/os/FileStore.cc b/src/os/FileStore.cc index 7b1160bc53382..1c0a75f71353e 100644 --- a/src/os/FileStore.cc +++ b/src/os/FileStore.cc @@ -504,13 +504,13 @@ int FileStore::mount() dout(0) << " found snaps " << snaps << dendl; } - btrfs_usertrans = false; + //btrfs_usertrans = false; btrfs_trans_start_end = true; // trans start/end interface - r = apply_transaction(empty, 0); + r = -1; //apply_transaction(empty, 0); if (r == 0) { dout(0) << "mount btrfs USERTRANS ioctl is supported" << dendl; } else { - dout(0) << "mount btrfs USERTRANS ioctl is NOT supported: " << strerror_r(-r, buf, sizeof(buf)) << dendl; + //dout(0) << "mount btrfs USERTRANS ioctl is NOT supported: " << strerror_r(-r, buf, sizeof(buf)) << dendl; btrfs_usertrans = false; r = apply_transaction(empty, 0); if (r == 0) { -- 2.39.5