Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2085888rwb; Thu, 8 Dec 2022 20:07:32 -0800 (PST) X-Google-Smtp-Source: AA0mqf5r2yIgy30nwny3Ieh3pxUpe+8LxiWV31bAyZ/i1ena24tYcJsEFVVyx0uVc0k0KNOF0Rsg X-Received: by 2002:a17:907:c716:b0:7c0:e7a7:50b with SMTP id ty22-20020a170907c71600b007c0e7a7050bmr4246910ejc.48.1670558851803; Thu, 08 Dec 2022 20:07:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670558851; cv=none; d=google.com; s=arc-20160816; b=LjiMhhUgCxgnKknpPi3PNUahxucquxcMcLi/9H10/zAgwOmXpH/LBM6QLMgklep36P cR801ZTmXGpIeIvTbba80ZU2tFOfkwMuAygHvX1muwSk+U1EivxZui41ANCh+7VSkkjE vFE4uZ6wC3uoUUr2YPgrGy5qlov5o62OEWq9Dx/oOa92pXWABivmimiK9QFRyKxC46rK l103HCneWniV9iGdNFuL1EkqK5kxSwPqaLaeY1BuTDDfSQUiUlZSbl+U878hugRi/5OZ WVTXLMfP3nEHqauqpFsYMP+qCn7/W6XoRQlDcEjyQ25SLfW4FZUhWN390Zo0X9dBMIdG /3uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature :wdcironportexception:ironport-sdr:ironport-sdr:dkim-signature; bh=6nrn7ayHDvs2hHdVGSi3aZc4IAV7ZYojImODCUedjaw=; b=du57bZkNyJIBnIapSiEz/dz0aLedtFYGGNIsqo55Ga3y6jhCFysmnU/ojLSUlefg/R DSA1wV4a8elD5YMu9NAYuvCp0fbe7du2NMDjn/b2RfOHKQnMNO0rz2uFPLLwdvKxdjul vynpCcoK1N5ijNrPF5R29NQqP3aJXtF0+qA+JqukSB38kL9mA8OIoL3gvCUsUq4EYcm7 As+whM8pN8Q05aNBrcRfgoAVLWuupPMdY7TkaaObik6Ci0EYSyO78onS6JvGoYdaIIlL mFxCvp/1SIT+JE2SPUBltA3U3Gx1lQUz6VZL2OEdiB5DTv417lAb52f5KjlGV+SGGD4H XRjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=rjnCVXev; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=sacPalBb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=opensource.wdc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr33-20020a1709073fa100b0078d93245e23si265590ejc.791.2022.12.08.20.07.11; Thu, 08 Dec 2022 20:07:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=rjnCVXev; dkim=pass header.i=@opensource.wdc.com header.s=dkim header.b=sacPalBb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=opensource.wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229821AbiLIDih (ORCPT + 73 others); Thu, 8 Dec 2022 22:38:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiLIDif (ORCPT ); Thu, 8 Dec 2022 22:38:35 -0500 Received: from esa6.hgst.iphmx.com (esa6.hgst.iphmx.com [216.71.154.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B7E52D772 for ; Thu, 8 Dec 2022 19:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1670557105; x=1702093105; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=fgESi8YQzZ0g91NBar7p1m7+FvQiZuq/HMZDT9kkcHk=; b=rjnCVXevUrxjL9HiU6RRNcmf0fQbB1DNH1UyEDPPsTVjGlen0hOVYa2L gsEw27giBBTMaKONG+8dG81iCzRG2mzvpJf7RtINQj/Qg3cdQj7OgTzJg ZlmzOfulRilisDKRHQO8cJ1lBm/pY1fIS5hpjBN4Zgjj45YYJsBSce5I+ U/F3XC5uk3u5vAhd+WihXHQ7VEnZgv2eSVvRXi7EGsGXC3XLI1/3YzwJg umA8ewc4M4rW4kewlZ64HyB8xSGcT9B06M7J+p3RP6BGhapUmbOKHS9Cz L4XXJuDrP704+XMVvh1WsiozxzfNWj16VxtsanawDGuF4WzXIc94rSkIH g==; X-IronPort-AV: E=Sophos;i="5.96,230,1665417600"; d="scan'208";a="218510334" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 09 Dec 2022 11:31:22 +0800 IronPort-SDR: rvwe1aGXIXBQ4PL4Cj4ffvsbm0idwTZP66Lu9VxgmZaqbzrNTRRt5HY518QmLoXwJi34LI8OLP OXJIENH1B2rJfiRwWzGIwRzVSAxTbyVd485Ve631InAvkdffv1JFkkkV+S8CF46yrJ6cwUj/hf tagW/bfs+x0PaX6ojvob+clRGHBIrg5xhL9N0MD9yn1/m2Ecjm9IlAy4Noy/nCx3VZraEyxJBw HXq6qNJQrtkAmJIuTOKcDtOhupQDQJ3tkGDE/RhS1b3wcFP40BePXUY9fnEcxoo8M7S4fmp91j UPk= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 08 Dec 2022 18:44:06 -0800 IronPort-SDR: TrAUaM0OUoKu4wMm2KJFEGKYe4+ulHWDn9KfDAEG7zXv9JsE8qosgcu+rtU9ibOgbbzQYX79du EtDv1Ju3KScZjpJDJG9S5APH5KGF/IJAGNv70QCSuBY8azmTkAY3xrUhOI5ApFSylPQVWzNBI4 CZYx+hhNJFqNBPkVQYH2bmtozJrvJJbzzqzm6/p/BkvZP+mAjHo2MVhUavEHh4SPfJ5AbghjSs AFcRjXGBXVVHhPM4Vyg+h4amyHtjG5yYstzcDYblb2i9PZAlQerydoJyDqZbaaM6LO2wUQSAwc Hg8= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 08 Dec 2022 19:31:22 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4NSxQ22WWnz1RvTr for ; Thu, 8 Dec 2022 19:31:22 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1670556681; x=1673148682; bh=fgESi8YQzZ0g91NBar7p1m7+FvQiZuq/HMZ DT9kkcHk=; b=sacPalBbWsCn2gCH5JXjmi0YENJrLzlVNjITBsUplK5YwiGKIwX HT39G7sIR63+nkbUu15RjGEGkS/AA2RvO8GzTcfPiQGUr7X3dYv6CnxUrGSxzn8l ySGNEZJtrMjA0GqnCTs4v3NxO9//tPLxy/bSGo0LivaTX+p5iZPUyezR4TNj2tSZ EKKAu6GOW063gH7lar7i8/FOA64b3aiQkIBmQIEbaMX/PKSCacN1mnGqoljqeFLn 0uOTw2LU3IkHTB5eJbKpfQu2yXsVLJD/Ota77o4iV6/y8DjTXCFe4hhQ6wVVFVLi tYrcgD7ludLJ2J1xyebzTgMHWwBMY/l196A== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ddAAu4xEM4oW for ; Thu, 8 Dec 2022 19:31:21 -0800 (PST) Received: from [10.225.163.85] (unknown [10.225.163.85]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4NSxQ10hzZz1RvLy; Thu, 8 Dec 2022 19:31:20 -0800 (PST) Message-ID: Date: Fri, 9 Dec 2022 12:31:19 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 25/25] Documentation: sysfs-block-device: document command duration limits Content-Language: en-US To: Bagas Sanjaya , Niklas Cassel , linux-kernel@vger.kernel.org Cc: Hannes Reinecke , linux-scsi@vger.kernel.org References: <20221208105947.2399894-1-niklas.cassel@wdc.com> <20221208105947.2399894-26-niklas.cassel@wdc.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/9/22 12:22, Bagas Sanjaya wrote: > On Thu, Dec 08, 2022 at 11:59:41AM +0100, Niklas Cassel wrote: >> +What: /sys/block/*/device/duration_limits/enable >> +Date: Dec, 2022 >> +KernelVersion: v6.3 >> +Contact: linux-scsi@vger.kernel.org >> +Description: >> + (RW) For ATA and SCSI devices supporting the command duration >> + limits feature, write to the file to turn on or off the >> + feature. By default this feature is turned off. If the device >> + does not support the command duration limits feature, this >> + attribute does not exist (the directory >> + "/sys/block/*/device/duration_limits" does not exist). >> + Writing "1" to this file enables the use of command duration >> + limits for read and write commands in the kernel and turns on >> + the feature on the device. Writing "0" disables the feature. > > Sphinx reported inline emphasis warning due to unescaped asterisk above: > > Documentation/ABI/testing/sysfs-block-device:101: WARNING: Inline emphasis start-string without end-string. > > I have applied the fixup: [...] >> ... >> + Possible values are: >> + >> + - 0x0: The device will complete the command at the >> + earliest possible time (i.e, do nothing based on >> + the time limit not being met). >> + - 0xD: The device will complete the command and an IO >> + failure will be reported to the user with the ETIME >> + error code. >> + - 0xF: Same as 0xD. >> + > > The lists items above looks poorly indented in htmldocs (due to use of > proportional fonts). The fix is to align to first character after bullet > list marker, like: Thanks for the hints. Will fix that in v2. -- Damien Le Moal Western Digital Research