Received: by 10.223.185.116 with SMTP id b49csp798691wrg; Wed, 14 Feb 2018 07:10:36 -0800 (PST) X-Google-Smtp-Source: AH8x227+i3GkXPkrWlzDt8ogAqEDFKZEjCcFTqjXyWv1J0lXpcUamEqoY8+kWNm+tfMvIZn/v+tL X-Received: by 2002:a17:902:243:: with SMTP id 61-v6mr4743539plc.202.1518621036321; Wed, 14 Feb 2018 07:10:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518621036; cv=none; d=google.com; s=arc-20160816; b=BY9r8MKhvM7e7fDZ+4yOo2H3hJcXIubUOKg8YgtGqDPLw1T7vnUu9LsJX93PTDPVJF Wtc8hlNxe7TSzEir4jzZuB4X+YpbCf+sshs3kurVdwtTwcykXp1RdMytKoyJSlF2swSO LAufTAlpVtYKRrBoNwkF1dbvXIlA8uos6ynf9f4erAlGEWI+/TWCR5Bg2QvOwk/WuRAI /IoAjKDsjaLlKq8PmtziOhmZeINLPPWrjKb+iBNsFeRniiH40rLyO9XXRAN6BgWWuQGV EYGMlQN5dAUBgs0MD+CP6bX99FLawgNqkyI9ST95yy3jwjbvJHCk4AxFfQe/rL7YF9mp +LDw== 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=kLAKW3+lJWnPY8mgIrPeLxQBxnFlE14bpEeXicjl6ok=; b=iq7DBhcSqJ1BO271tXK17VA0OLMcFs8sOx42BGOC3miGbkIKKlyTPz3TNK98m6j8kh MvP5R5IrZSuOTJlZuV2pAJYyArqQZYh0wzgN3BlSPUaXTJhKUQixdyYOJ1m6GPiL97+Y krHWbDt91005yAsk1IpIr7Bp65MMoAhcQLWI39Kzu8eyxIl8rb0/GTm8DES9qJu/f5Yv myViR6m4wBgbdj89Jwb/IW40kK8BRpgZxvOysnLRpX7y1r0hLG0sm981VtZYL/poRfjw m1CYrBcYcJDYxJOaLSCk2oBT90rd4YsjhFGGfdMfBCHYC5giLu79twLWGkNOd9scjpfa PUQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eiL3NH2d; 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 15-v6si1486223pld.387.2018.02.14.07.10.08; Wed, 14 Feb 2018 07:10:36 -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=eiL3NH2d; 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 S1031154AbeBNPId (ORCPT + 99 others); Wed, 14 Feb 2018 10:08:33 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:36542 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030731AbeBNPIb (ORCPT ); Wed, 14 Feb 2018 10:08:31 -0500 Received: by mail-pl0-f67.google.com with SMTP id v3so8689992plg.3 for ; Wed, 14 Feb 2018 07:08:31 -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=kLAKW3+lJWnPY8mgIrPeLxQBxnFlE14bpEeXicjl6ok=; b=eiL3NH2d/haBq8x9eTyCghv4ciDTMsZItRRkka8JgdfVwLY31YdJpVvcEvxq+QA/rw XSKeqJzUtODTN9xDQ4Wg56e4EDwVviWPxVkHJxcUF7C1A3VZ9fuooG9D1ppAWNDW9f8j w8SXgMCVl/JZLDtvm738a8dc7NAK7K7LhHwQrT9vX1yXYO4S34vFhZ1oRGLgrpUc3Ttg zclBGSwJg9KXDUdce5oy8dKsgYwllEh6uTde88UUKdw0ZBM146Y/8Oyc3FtkWmVfhPAC ywZ98vTPYmpg4JPovJRJeXTHpp6hh7k1XF21HhRdK4ONNm+94SeS8PFoqZd0fwFlucyU R9gg== 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=kLAKW3+lJWnPY8mgIrPeLxQBxnFlE14bpEeXicjl6ok=; b=AN168qzLLFMpwi2KqW13Clh5ikENfpezMwXIxHW6xmBORPqGPtZ/Kw1lIHn0Q/9uHH wzC5Dg+eznP+o7Xz22sjU3lY5V/FM0mItfvsthbT9lp/eXdXqp8DBNvysEBmJwLi80nT BqvH1PeMHE7/lNL8wKs9yokOKHIy1UJudv/JkdLzxSikSWGoWYoWokUMWNxuM8v0rLCh r2JNp8b+ckhwLE8KBrbBbUFAVZYbNeepdi+jxTBA5ud4cpgB5zy4eqtjF/qyXFtqugZa lK/mFi9eZDlrurJlaIlqTUFk9fRudC79wB+K0Bc360i9HZdnqWvLqmz2WRFbkoMmTGXt fwdQ== X-Gm-Message-State: APf1xPClAqSSUZBehO2OJiQdZ//esrn1CzmqqGtiU4ID6zID4wikwCnG Uwy6zo9VNzunGKzO0KRSF/nIcQ== X-Received: by 2002:a17:902:4523:: with SMTP id m32-v6mr4772709pld.449.1518620910935; Wed, 14 Feb 2018 07:08:30 -0800 (PST) Received: from mordor.localdomain ([49.205.218.8]) by smtp.gmail.com with ESMTPSA id b5sm3127959pgc.13.2018.02.14.07.08.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Feb 2018 07:08:30 -0800 (PST) Date: Wed, 14 Feb 2018 20:38:25 +0530 From: Aishwarya Pant To: linux-kernel@vger.kernel.org, Jonathan Corbet , Greg KH Cc: Julia Lawall Subject: [PATCH] block/loop: add documentation for sysfs interface Message-ID: <20180214150825.GA4764@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. 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