Received: by 10.223.185.116 with SMTP id b49csp1494245wrg; Fri, 16 Feb 2018 22:14:09 -0800 (PST) X-Google-Smtp-Source: AH8x225JPo94taCrDzD7FTPWNYkzkUFN3ynF49HG8Yb9gnIEST9rrnjig5uOgvhGAS07x8lLMD66 X-Received: by 2002:a17:902:9686:: with SMTP id n6-v6mr7907687plp.333.1518848049753; Fri, 16 Feb 2018 22:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518848049; cv=none; d=google.com; s=arc-20160816; b=MjugwnPiSNJ8oYIM6beiViOnVrZ48LpkMGVQr1IUY3AHGcue3pxPsSfCYQegAbPpXU zEemHsUvJNklcZZoPrsYnRgch+1BLUhAL/r+R/TEtmjMkI5F53i4/LDadaw8V9T5VGm6 Z/ttANPiYiy8qTF1e+ojMWdkIwSeHeBM3U4/5+GRPjlCMyjc69TOhs5fzcGfVxpK2N+U 5owBiuoL5A5SCTrZ1C8hBt8mZmKEpNn9es7fOfNxwlBozIiyYE0XCn8NUsBPFx4Kkz1G ESgTxp97Sgveb+P/LkaR35yXzd1lFQE94sxAmke2Z85/KyttfqtGak9SxQTF80hlXdI6 7LPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=qau8JE0myrVtuJ9r/HjUOQm4ETdWsobeh5D6wkv6K6o=; b=ZO0ZygdXGBKG0fGKgzWHCOm4dYzjDoBD1FGCS+H6neBLg+Km+O+HROFdgsHQm45Mpm 8S5K4JyqAOlfx9WvLzcaWXw72Zz8e0CF6Plr3IMdJbbzTnorXXMUw4t+V/BRdnCdLbRc vMH44Fz0PjF9mFq0BU3UrbhvUjTMfpkETNhWjP53KIUh5RHBLzWPdiVcEXlyhy7ftHKQ bVeDlLd10GyK/3awrOOgrD+oG3vDDItOoEZcUCGRyfXeNS+i+qnuqhJwYX3wNOXsTZdV 13VaDFFFOFGmfB2aJC9KLtVMMXUqMkoihHkjZDiD+30vc0ZZutGIBIlLtA/JEmaSJbne i4pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLigs2mJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n66si58356pfg.340.2018.02.16.22.13.53; Fri, 16 Feb 2018 22:14:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DLigs2mJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751035AbeBQGNN (ORCPT + 99 others); Sat, 17 Feb 2018 01:13:13 -0500 Received: from mail-io0-f193.google.com ([209.85.223.193]:41382 "EHLO mail-io0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750803AbeBQGNL (ORCPT ); Sat, 17 Feb 2018 01:13:11 -0500 Received: by mail-io0-f193.google.com with SMTP id e4so6311444iob.8; Fri, 16 Feb 2018 22:13:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=qau8JE0myrVtuJ9r/HjUOQm4ETdWsobeh5D6wkv6K6o=; b=DLigs2mJJxGajqgtX28RE20K9jxk8yi0dsIpqYkoy/n6VkMJsTgap37nmHhszRwElo dWAj1iOhp6QHEz9s8E1BScPiQLTRWR7V4I5LOXrjzgfkBLr0XTst1Rz2AJP7AFQxmXA+ +0dJLmAex76Y6jt4WzJthZPyAX9EDoXyRd6TVH2JY85JSheirzsz17Vnt5f6hq6WjlBN lVsn5+2rdRPuhMYyZAAjdVUpydEhmisWVEAgahYuyvgvTZo1Y0vIP8Tmo6NY0HhdZ83g 1/cuLcipLk1rnw8sStC4sgZyj+MXzysyoXlbATrYY6KKpQQ5SHYZBcHsLGZz12Q0N3Lg DcNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=qau8JE0myrVtuJ9r/HjUOQm4ETdWsobeh5D6wkv6K6o=; b=STtMeKOsjiswozl8LD+Ri6Be6EZamzGTKnuOQcBh03Gc4V4+ZBNqfkUB/4l2BL1XBY zDbKoJolRUh61RD5TBcN0lfxJJrPqImRVZ2y5rkiZ19rdzR+Z3QrsekVKPGlQChn5GhJ iS9Jbf1xzxD9ZQemSZRt52+hE2u79ynXLb1YaT2L+VuGf7uul7E7RBkQ+xq/fg1CegTT r85mbP8c61GH48Muavn1J0RH8DGUYumhZ1lRjZfB+md8MT6+AtnmvIlEi5kEVjMF+D/R xIVlqv5N248plg1470YYNQzkRKOWE7zfJGoxUu5KWeSBZG3BbUpCd/nz9jUHqRRGwq+L lMpQ== X-Gm-Message-State: APf1xPDFQShfI6JDXfVG7fwFyoZ1IsxZArfJutjT98+NXPLyBgAAlcBC T/hlI7mRnxmvwAgpWTJopgSkIA== X-Received: by 10.107.189.196 with SMTP id n187mr11058157iof.47.1518847990137; Fri, 16 Feb 2018 22:13:10 -0800 (PST) Received: from mordor.localdomain ([183.82.19.191]) by smtp.gmail.com with ESMTPSA id l5sm17452805itl.27.2018.02.16.22.13.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Feb 2018 22:13:09 -0800 (PST) Date: Sat, 17 Feb 2018 11:43:04 +0530 From: Aishwarya Pant To: linux-block@vger.kernel.org Cc: Julia Lawall , linux-kernel@vger.kernel.org, Jonathan Corbet , Greg KH , linux-doc@vger.kernel.org Subject: [PATCH v2] block/loop: add documentation for sysfs interface Message-ID: <20180217061304.GA14083@mordor.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Documentation has been compiled from git logs and by reading through code. Signed-off-by: Aishwarya Pant --- For drivers/block/loop.c, I don't see any maintainers or mailing lists except for LKML. I am guessing linux-block mailing list should be okay. Changes in v2: - Add linux-block@vger.kernel.org to the recipient list. Documentation/ABI/testing/sysfs-block-loop | 50 ++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-block-loop diff --git a/Documentation/ABI/testing/sysfs-block-loop b/Documentation/ABI/testing/sysfs-block-loop new file mode 100644 index 000000000000..627f4eb87286 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-block-loop @@ -0,0 +1,50 @@ +What: /sys/block/loopX/loop/autoclear +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) Shows if the device is in autoclear mode or not ( "1" or + "0"). Autoclear (if set) indicates that the loopback device will + self-distruct after last close. + +What: /sys/block/loopX/loop/backing_file +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) The path of the backing file that the loop device maps its + data blocks to. + +What: /sys/block/loopX/loop/offset +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) Start offset (in bytes). + +What: /sys/block/loopX/loop/sizelimit +Date: Aug, 2010 +KernelVersion: v2.6.37 +Contact: linux-block@vger.kernel.org +Description: + (RO) The size (in bytes) that the block device maps, starting + from the offset. + +What: /sys/block/loopX/loop/partscan +Date: Aug, 2011 +KernelVersion: v3.10 +Contact: linux-block@vger.kernel.org +Description: + (RO) Shows if automatic partition scanning is enabled for the + device or not ("1" or "0"). This can be requested individually + per loop device during its setup by setting LO_FLAGS_PARTSCAN in + in the ioctl request. By default, no partition tables are + scanned. + +What: /sys/block/loopX/loop/dio +Date: Aug, 2015 +KernelVersion: v4.10 +Contact: linux-block@vger.kernel.org +Description: + (RO) Shows if direct IO is being used to access backing file or + not ("1 or "0"). -- 2.16.1