Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933582AbcLMPHI (ORCPT ); Tue, 13 Dec 2016 10:07:08 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:49064 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932346AbcLMPHE (ORCPT ); Tue, 13 Dec 2016 10:07:04 -0500 Subject: Re: [PATCH 7/7] blk-mq-sched: allow setting of default IO scheduler To: Bart Van Assche , , , References: <1481228005-9245-1-git-send-email-axboe@fb.com> <1481228005-9245-8-git-send-email-axboe@fb.com> <3e4483e3-6018-5c6c-9fe2-128ed68c01f4@sandisk.com> CC: , From: Jens Axboe Message-ID: Date: Tue, 13 Dec 2016 08:06:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <3e4483e3-6018-5c6c-9fe2-128ed68c01f4@sandisk.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [216.160.245.98] X-ClientProxiedBy: BN6PR02CA0046.namprd02.prod.outlook.com (10.173.146.160) To CY4PR15MB1191.namprd15.prod.outlook.com (10.172.177.13) X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1191;2:EemyvCEPKqCDP8uYRLJTAJiMhT7WjbLLIFDgE8F4RyHJSCqUv+wL3S3oLNIpn14TXPKaal5PQKuvDmLhLLH4sSfFE491PZ7u/Zai+Swi2ysTRv7/ci3BAFttvnCv6GzVhIBSaB0bnV10HkCpXPmAmJvWHLKA/AY9azA9h+y2iho=;3:l6V2Xsnr3ztlcFnCWtPbFS+WTBxWBh9my1qjWcPZO0WwZI5f76wL88GLib/2aMaKP137A2v8yKhUvezWNYPhN2pWiBShFFXjtC4aszCxzYZBACP86KEmUD9rqb9Iy15delh7kwo95QFBq7Of6zFnVljgI9t9llRTbfGU3SPpuEA= X-MS-Office365-Filtering-Correlation-Id: 52ebd6bd-fcec-4109-f3dc-08d42369af6e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR15MB1191; X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1191;25:XcOz2hUXZm1CCP9CKvfhFJ+RDKwamgDzG8Lx7nlBotTBXJbiQ27It5tt6nLZGSc069B03TLxA1qFKDIbfU7ASeBdyZF9uIkbaSlkhacDI0HyjJOhuE62uaYsuBgQJo72iES8DKhJq4c8qqvkZRALccRS9lWRFMdO0o9qVdBH3/muLohfiFDAqwkGsTWvi0iCUGs/EPZ2SSDd250uTMD/22Apx2pA29C+Ld/YSE4cXhoGD9yHDVUY3SXWwFJ29/KbfIvGdsZitJ5nMsnkXmdSMWYHLKgE1OUAD2AnSGxEPDy0d7PA5ht92ccehU4MudUyulu5qfhTYJsgH+ZDQgN2OtsEZzqJ/iX4M/doca6yoprPG003G+NdXiZAqB3YlRXcVe9qEcS1sGpDkw+4ZW5b4W7tRnIy1IkzdodOkmoFbkhocDFJyIBEEbh5EjtNzNpaPImDSyKKUZYPORA7nUiBZSWgM9607vjtePfzSV1JaS2J7rY+oHpUbeJTMieT8tXm4rS965IzYE+FR01v861dRHNMf9wZB5jhjjAe4yceFcm0zuxNPQgPfGZhTvR/1la0ANKlpv9bdLzH8XxCFwfWX44Hnp2ynk4/H9UUSPd/+9xMW1y02RKoaEwcJf12/+M913Hh+zMdXEUhg1PttVTaCEm1gF134idTM1+90fyHwHPfO5KWBZEjc3P1gybBxnLGAiKbyPqF1ajmp1ewdz1VRiw9QC0y6FqsEksH9joQee6ZVZojUS6isD//sRhx3HbH X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1191;31:r5yCTZDvS1x/dTXYRBUCdvKgHmUiPR6lvIkGfp1VJg4U0eFLi0jIiQ0KMaAiqXkaWDcp54vIuwjTxp0BsADmr6ac/cCBGlsWGi+a1KVPLXlzkR+DR37FFjmpmo7wU+9Di6bc0RBAjGkAryrOKZIZpOvtXXC32gmgqMVp/IhL4UmRlkH45+J9K+FylNh94g2iNi7ua8DfInFBRJJKVwNhGXlZ0rZE1WBgZvI9swtprHWX8fp6v3skL8sV0iF3K8k+V982CMyx3oDCaLhiMTjg3Q==;20:EZ7MAzUrDxcY6sb1DzuN1ppJxu6ceK/EdYEyjsCcr5rgSaOPHQNG6l9XtgAhYyriL3vw+bnmglq7FmWWJTN0pv6QKkB3VY/ow2TbPPRLrdaPgNp/5nP1MI4f1KaDXhs63K5kTEv+SmCP542iMgdVoIFPtqU7E4GXk6QCsQw5J2KSzRgx2htrF0yxtQRtdjuaih/AfwFW4X2v3OkIJsI7POWJV4PplgP5UkuXq0ztTvoi8iTqsPOXL3p1iLofwXtW2QBkOaHJmWt/y7vL98ypdzd3lSMzp+24vaexaAYZjIHYuTVJykL0CSb8gEm9RAA9GVMQbNIiYQAoQFRcZd5H/vCGZ4nAsGdxyBseKkdfciOxnGwwa2Yt171B8V8eGxaqidVAo4/P0o/A9srYcQ8vjEUgpKW56ZcGJ6lNa4NA0imOTkOYqlSBhhNZNz/2HAg4N03om3q6A52MBSTR6n/9btBLafqbHoHxZN/0ny/FUIF4uVWKKxn4d652dDLiL4+l X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(6072148);SRVR:CY4PR15MB1191;BCL:0;PCL:0;RULEID:;SRVR:CY4PR15MB1191; X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1191;4:LKED4tL4pIsmJ9NU7/v/zFY7EIlOGZGPekRPCaVDY6w2elP6eoSJyvOAa6tM+IktEkbPPrnmben0QvYtW0XzBxBttZcZwipzTk4dH+xzuQzzB14Br136/WDhBiKqnx7kn0/rBNIdQ770+UjGaldT+H4f6xU+tRAhtAuMs89G42KP6YhzV02mVFu+UyESRPOoUqVkcot5vsYKI4uldSvx+u4wUJiQRSTquhriLIoyar+a9FGnmlqdYuJtlTHXwXiw+S4ZJ3iri6tbW6BmrQdgPfEPp+BgThrAK1nL2Z2xuXrA0tEU4KgUPOll9ssAHSpgmLFrJpsza5ymssCjmL0DzXvkTjxO8Tu8o6cjMTbx5A50rvKuFjWL51pXd/nY5lAa0QpgaAcsmGl6gE40EDZ7oro38Tpokz9cYIAfsHilcdXc/Y13Udve7hiV+GybG506xg9tIQ/6gs5X1Qxdas/ixKEbmLPwrdcwL2vuSFkAU/1IrpXj6Yan0U/PXn4mqQq2/pLkJ3/Fl4vL48kf9c/Z+ciPgetDMuUKJmCQVeRTF6me+3at00HvKzPf9b6OtWVVgqVRCa4NJKfrjae0ZS2qWg== X-Forefront-PRVS: 01559F388D X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(7916002)(39410400002)(39860400002)(39840400002)(39450400003)(39850400002)(189002)(199003)(24454002)(377454003)(92566002)(4001350100001)(4326007)(6116002)(38730400001)(189998001)(54356999)(76176999)(68736007)(65806001)(83506001)(81166006)(90366009)(77096006)(305945005)(3846002)(66066001)(23746002)(2201001)(81156014)(7736002)(33646002)(5660300001)(64126003)(2950100002)(65826007)(230700001)(6666003)(65956001)(47776003)(117156001)(86362001)(97736004)(31686004)(106356001)(6486002)(1691005)(36756003)(31696002)(2906002)(8676002)(50466002)(229853002)(105586002)(5001770100001)(230783001)(42186005)(50986999)(101416001)(8666005)(7059030);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR15MB1191;H:[192.168.1.129];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;CY4PR15MB1191;23:l3DxOK1d4CntvxXrNxcct4RsVxrQzt1VE1Wgq?= =?Windows-1252?Q?TADlIxT5PYN/Yves9O+WGGbMCddwTh6m+l0h7RHWt85RYD6zMal2LkVP?= =?Windows-1252?Q?IZ1ZIknvvzLPFn67/yGkCiC+RcSxt2vDpmExHFg+hPligWrZ/QErrTwz?= =?Windows-1252?Q?0p+3YcURQTxdvU8QPaXx9YINtgmY5gy/a8vya3WXuez4M8qHsTbh9B36?= =?Windows-1252?Q?Y9XAs0Mks6kSIqhuUJzYBeguj3XVrjs7XSzs43pwDZU8CXBASkWfDQ/0?= =?Windows-1252?Q?+1gQ0iZbU6wNZGnqauWsg3+KlbAYkHI4hNQ2Loaw+9oRqJdG88ib2TvF?= =?Windows-1252?Q?wW7RcMYVt5QK9HGCwhDuyuxYbzxVeGkpWnJD7fbNvd/5rpedlVZEDjYQ?= =?Windows-1252?Q?+k2s/b9ZixX/XiYqZNTTwrgtcx61zcq9AUTnPg/08z3AO8Yc6hw3UyeU?= =?Windows-1252?Q?YzPl+2k38Zs8jUTGemBxDpCDrdjEP1SoYe+VdJL6VhCBmfFzZ+lVJe43?= =?Windows-1252?Q?NqaqVgc5aqZGdCarAezWhqacx6vE7wCyKOItKuOxX34u9NIkHY0HBSUX?= =?Windows-1252?Q?n1y4vGzhGmqK9L3J6QvwPruxqcS7HvB0YxgIYzCUryk7AdMVKDKlYhRm?= =?Windows-1252?Q?6H+q3AEP3URgC/9mrFZzn6ETUes5zt41JmHOLTA7b3qWJR7zyjIkARrn?= =?Windows-1252?Q?sOysoND7FWG3gGXeMEPiV4aGs4/43tZi3GHAuY9uGwuYNz6G1J89XtXG?= =?Windows-1252?Q?eoi1l0yNPDHft3S34WOgh1H8I5S2d9xpWfmiinTasyCMZlTHvh4kvq3k?= =?Windows-1252?Q?ngnUFzzPLuvkPMuoVc5Sj60C1+CdoDY2tTkGwp9cTANmNUAmMMjBsXWR?= =?Windows-1252?Q?UYgO5HVj+Dp4va/WRSYc9GCymBgaVQLkXTYkLwVZY8yWMdSXHno1VsjJ?= =?Windows-1252?Q?TF7oJsI/sG7r9tnsAkQIjJWbAW1u6gwFSIcaRckeKPzjF//HbMime/Fd?= =?Windows-1252?Q?/Y3ER+Tas+N+ofZsA0FmN9Vu1FryBeDJsUDYvCiodvTpwTguAm4OFKsG?= =?Windows-1252?Q?bgpxuOI88lkoTOCCxVf72frtBPZr5Xds/+jCX9oHA0DBXg4w8ssHIVbS?= =?Windows-1252?Q?Skyp/SM4APTk4E4lr38jaEvhgQZ2yVBMqgBVFchb3htIyV+AMn9eJt1v?= =?Windows-1252?Q?Y0957PrDAcj7Tdb/rZVh0p3CtECdIZsCBDGq+3liUchtKJPTTMsWsJ0r?= =?Windows-1252?Q?1F7qjFigy571ziqJVvU1QuvDYnzl/WAdgRZZt/mPS5Qt4qiw6TnZ24qA?= =?Windows-1252?Q?W/9qjLveSKIhRfeXVlHXdQTj2sYhWVkqyvG9dxiAP33PWusgpqIUpev0?= =?Windows-1252?Q?IG6WWgTr5GD8H2Z6GkS8beAZBHNBP1+08QFQJt4pzPya2x6LyY2LDb6X?= =?Windows-1252?Q?7YfoeNYALOofo+zWq+K2OrnSwEWC4pNXU1iFYhSRuYQ6w7SPPOzPdiCd?= =?Windows-1252?Q?VK6bUEWRPx2xvRhtoR7OFG9x+5hfb9YsIf8CY1B8Xchz0/9ppV7UuTF4?= =?Windows-1252?Q?RaDlKF6cAbWrMUpa1rA/apXwkuaWOijPKG6fzQ7Ml5g0ip3rUhYiY88d?= =?Windows-1252?Q?Q/WDB/cmxPIpT/lapJPmDIFrz0BOQme0+jKaF6m5OCioozN8/kTQsTSm?= =?Windows-1252?Q?bzdx0rgkJqTAmXmj2M1+iq2RcWRhpA=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1191;6:6HQTR3AKRgXRoGv1q/j5tZ2S2nJ+KCReiIpIgjMJ9nbSypkgtuNzv5F7LAvvsXrDNJqk1Lw0sI1sQQjmRiQnHkmjnLBZu3BHIpr934ABEfrl9pBiEl8tZvFFXW9Yf3PWrzDJwZyyCOpu9hiAJER58191yPNu86ZjzEGg/bpX6hso7BjHuRNdwd5v7w7HqkL4LhMWm9O25cCHntNkzNA3Is+9oSb2WbT1T8UUBALUUyHTsfYPAx86XzsqDvaIlkrCZhQvn6PWvPzGbR0oA9u19gRxmLmUXNrUMtvlEtlUYwJGgqdd3CjiY7AH4PdmrbUyDSWYIKN1W0WYfvBuK/daYpCiUAXnpqw3/De9AgHCvjk=;5:79bs/8xkDR+NDC34WQ4hWsJfcA32DK6ab2pvBIK/CZIFKKnoMz1r40WejGYoFQJcbwMRahz05gfRYPkYkT83y04+12sP5ItKMIaGAT4Wdy3k2xSPb0NFnYgJL/VfGmSNKuRqy9MZ1iOqF7lfUdrTAH+uZDWqRDcu10L29RKfeHg=;24:ePQZBFg+3OHL0EaTA8jd8o2WBOYeTBniGjEwrOjoKn7W8BZt0UuujS9WLkyPftbTZIoMwkSeZ6jm7ucEWzVJyBV1EP4fMkQ/4h8y674fbDA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY4PR15MB1191;7:xDuJ1Sup1MSuvjwBq3ftwX0XDjNZrXbSReyWMcm4D03mkfldiF+KhEo8LMtDj1Vmb95PPDymyU4p+YIz6AFFs+FuUjYPBzYNJQjteVaDK0x8DvcczW779Gp8rzXn+N2PULlTbVWO2YaiiaO+VRuaUID8VyKRjPq9bulHLbprOq5mjM6EngACzlW99+cR9c1m6mY/6Eliu430nuu8HmyzaeyAyXMRh9+YggYoRbYkXuG/SnqnvXo7QMOUEiqhWmPhOrd4/H1X/JpzNxtsWDydMrpWlURcDMlt5JD75xUqWj2XJRcrIUJMfgmsy3cvm5N21FSBobxOAwMmpqBmxn1WfXa7O09LYmXkvIhH1t7ctzA=;20:e4w5L2VBmS4j0rpYr/aviDxnyyOyOBs80xC+QkbHqxCfpAIZqAaThfRPywjdjSptM4J11hmXtI04WplYU984E6A1Dzb2isB2ZpurAlRskSm4zlVNywi7svEL6SAGC/FDFcDhgXce3+LHWYrcVa/655NmXSP2gUaN7sSHKnvW5x4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Dec 2016 15:06:57.3061 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR15MB1191 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-12-13_11:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 729 Lines: 27 On 12/13/2016 03:13 AM, Bart Van Assche wrote: > On 12/08/2016 09:13 PM, Jens Axboe wrote: >> +config DEFAULT_MQ_IOSCHED >> + string >> + default "mq-deadline" if DEFAULT_MQ_DEADLINE >> + default "none" if DEFAULT_MQ_NONE >> + >> endmenu >> >> +config MQ_IOSCHED_ONLY_SQ >> + bool "Enable blk-mq IO scheduler only for single queue devices" >> + default y >> + help >> + Say Y here, if you only want to enable IO scheduling on block >> + devices that have a single queue registered. >> + >> endif > > Hello Jens, > > Shouln't the MQ_IOSCHED_ONLY_SQ entry be placed before "endmenu" such > that it is displayed in the I/O scheduler menu instead of the block menu? Good catch, yes it should. I'll move it. -- Jens Axboe