From patchwork Tue Dec 3 23:12:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Josh Durgin X-Patchwork-Id: 3279941 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9CD419F37A for ; Wed, 4 Dec 2013 00:05:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CBF1920495 for ; Wed, 4 Dec 2013 00:05:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 045FF20260 for ; Wed, 4 Dec 2013 00:05:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754656Ab3LDAFd (ORCPT ); Tue, 3 Dec 2013 19:05:33 -0500 Received: from mail.hq.newdream.net ([66.33.206.127]:53153 "EHLO mail.hq.newdream.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754314Ab3LDAFa (ORCPT ); Tue, 3 Dec 2013 19:05:30 -0500 Received: from mail.hq.newdream.net (localhost [127.0.0.1]) by mail.hq.newdream.net (Postfix) with ESMTP id 64FE82667A for ; Tue, 3 Dec 2013 15:59:38 -0800 (PST) Received: from vit.ops.newdream.net (unknown [38.122.20.226]) by mail.hq.newdream.net (Postfix) with ESMTPSA id 5862726680 for ; Tue, 3 Dec 2013 15:59:38 -0800 (PST) From: Josh Durgin To: ceph-devel@vger.kernel.org Subject: [PATCH 3/3] rbd: document rbd-specific options Date: Tue, 3 Dec 2013 15:12:53 -0800 Message-Id: <1386112373-25610-4-git-send-email-josh.durgin@inktank.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1386112373-25610-1-git-send-email-josh.durgin@inktank.com> References: <1386112373-25610-1-git-send-email-josh.durgin@inktank.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP osd_full_behavior only affects rbd, so document it along with read-only and read-write. Signed-off-by: Josh Durgin --- Documentation/ABI/testing/sysfs-bus-rbd | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 0a30647..15f3ba6 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd @@ -18,6 +18,25 @@ Removal of a device: $ echo > /sys/bus/rbd/remove +Options +------- + +read_only/ro + + The mapped device will only handle reads. This is the default for + snapshots. + +read_write/rw + + The mapped device will handle reads and writes. This is invalid + for snapshots. + +osd_full_behavior + + Choose how to handle writes to a full ceph cluster. Options are + "block" to pause I/O until there is space (the default), or + "error", to return an I/O error. + Entries under /sys/bus/rbd/devices// --------------------------------------------