Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751987AbdC0TBI (ORCPT ); Mon, 27 Mar 2017 15:01:08 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:57258 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbdC0TBD (ORCPT ); Mon, 27 Mar 2017 15:01:03 -0400 Authentication-Results: kernel.dk; dkim=none (message not signed) header.d=none;kernel.dk; dmarc=none action=none header.from=fb.com; Date: Mon, 27 Mar 2017 12:00:44 -0700 From: Shaohua Li To: Jens Axboe CC: , , , Vivek Goyal , , Subject: Re: [PATCH V7 00/18] blk-throttle: add .low limit Message-ID: <20170327190043.GA96008@dhcp-172-20-189-90.dhcp.thefacebook.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-Originating-IP: [2620:10d:c090:180::c2fe] X-ClientProxiedBy: MWHPR11CA0015.namprd11.prod.outlook.com (10.172.48.153) To BN6PR15MB1635.namprd15.prod.outlook.com (10.175.131.9) X-MS-Office365-Filtering-Correlation-Id: d438ae84-c9e5-488d-17f2-08d4754398bb X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN6PR15MB1635; X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1635;3:E2AbVLIO0TnaSbzKpYZwzmvzVfYyjEnHqTpZw0IRPllCOiYRs1z46eWi9aQPopPbXRSP0moXHLdoRX9VIxr0lFRwNLBl5whkZWI1cXE29C1GMPrFWlXvmjshAal4uZmfe3SoE3A+ODwuYa4k4f1Si7fcCJtbzuVzv3v02mEnwBC8tPgpK0eqaT8e4hMpawa+M5RPUibMVH7PJiEfooMKGAunnbtL7X1JiVSz035rtDzcs6fiKigsyE4wiY63kulsJQsrGzTt82gDOzB1ITe+pQ==;25:4neuouRqUig2ZcsO3faMbjowMNFy2YJQQ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bz+K/+tv1dRriEjeVDv5L4oIV7JEtyO5b2WSktS+9zD+hLqqzDpJr24LTnCw59m7w+tOkQSEk7y+G8crwqwyVAjmZOnrjdZJbua7ErXdgvHolrAQD5OITy6bMSJEataARoFBlfoDbFnhqRMY76d9TuqYKso6RRC41xyyCgKvXh3v+Npu 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)(20161123562025)(20161123564025)(20161123560025)(20161123555025)(20161123558025)(6072148);SRVR:BN6PR15MB1635;BCL:0;PCL:0;RULEID:;SRVR:BN6PR15MB1635; X-Microsoft-Exchange-Diagnostics: 1;BN6PR15MB1635;4:UqT0OicfphGorJsOPA3wDoCke6V4VZxOvwPBJDtbOwARAJvkKTDZbJ/FeUZ+RZiUG+17p9i08IFg5BlUALcd6T1miKIUkeAhe2Q/pXJIaNH4dEHkXeKJ0AOO4me2/wO9lJ7lQI9quPmSvkwvfKueS2dcQV+LzGV8xPnAXWk+nckvaS7UBrnVIBjeKYhSaCOsm29AnDd3jBXgG2xT8L/aJwonf47O4HL2aEhq+1WIMgVyUUTUU1rzvwUjXo6YUXiklalDblM9g4FY00RENRNpp2/6hfg2+lGY1vS+51YOOTcJ7eGwvLQAOE8YLHTjLG+YGq52qNbvTmyk1Lw3FrS2MQLvOEWk6e+LbyFT09iCvOlUs9GU19N167xWQ++ChwF2hJmFdL7ygofmUC9tAi52FlHOXxEW2SYdlXmvbru3Pj6nqHlLGZER6rlmwKoZfv6YDOxWAEy+3qPj9ztN8/tiSBP0wExuyQ+j5Wx+XF//V/Vd0B2uvSeXUrzpBYXc0R61hySVGHphRd3R+1rdfbcDKU8vMhtgkeD/6PEp4QIfKatl0Rp5k86Ho/I3jXxTSkkP49EHKBBV5RDWr9YVbxDgeT3mfWZjNGzUOHuyTOvHaA8= X-Forefront-PRVS: 02596AB7DA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(39410400002)(39850400002)(39840400002)(39450400003)(377454003)(24454002)(76176999)(42186005)(54356999)(53936002)(4326008)(5660300001)(1076002)(50986999)(97756001)(33656002)(189998001)(23726003)(4001350100001)(83506001)(6666003)(2950100002)(6916009)(229853002)(46406003)(7736002)(86362001)(54906002)(305945005)(6116002)(25786009)(53546009)(47776003)(55016002)(2906002)(8676002)(9686003)(81166006)(110136004)(38730400002)(50466002)(6246003)(6506006)(18370500001)(142923001)(102196002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN6PR15MB1635;H:dhcp-172-20-189-90.dhcp.thefacebook.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR15MB1635;23:7NpOHC3Oe+rJeFCq+OQuAvveF+pjR5+9IIZYPGtGg?= =?us-ascii?Q?2HsXMLsh8NY3kfSQkSR5i4sZwjr5dO0x42AchQW9xH3JGqhfjhHaGdPX9El9?= =?us-ascii?Q?nLd41fqOqzNsEfHsgvqsvTLaQrsJo0zPDStJ4dqOuB34dAdux391yKKaZ+jx?= =?us-ascii?Q?D7EWJ1qAnlOM0vCJtRuM+scFl4EmNs3ciB5KusZFSuUPgPrOP3NlwatTnBxP?= =?us-ascii?Q?G6ePqrkMBbmvlIMH5GY3uZfOVnRx5lkCB4Oh2TV6P+J6FTxLCXIlTu/7iboA?= =?us-ascii?Q?3N+0QkB3McB8X9EmoiV5vPBW+LCgFspXxsJ0FUc+nnU6sCJOXp8A0nlr9Bnr?= =?us-ascii?Q?JH838rRFa38MKab2J/6I8YVq+vnq2hK40hEFI91RNom95U+6aheXKlDGfUSl?= =?us-ascii?Q?d7YYkhOh0neuzQamDqge1rkT2+o91m76/T7tsKN9NowTUKeovrt+q2aZUZYB?= =?us-ascii?Q?uyQhPEzdzl2udAf13McVf+is50NzmtJV8atBki6KcWL5hFJDcCO4LDuER6lO?= =?us-ascii?Q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4uO9OWLyl2uDsj84T7M4= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2017 19:00:53.6626 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR15MB1635 X-OriginatorOrg: fb.com X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-27_17:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 621 Lines: 15 On Mon, Mar 27, 2017 at 12:15:29PM -0600, Jens Axboe wrote: > On 03/27/2017 11:51 AM, Shaohua Li wrote: > > V6->V7: > > - Don't overload blk stat, which will simplify the code. This will add extra > > space in bio/request though with the low interface configure option on. > > Hmm, why? As far as I can see, it just makes things worse. Part of the reason is the new callback based blk stat makes enabling stat less straightforward. I probably can create a fake callback and enalbing the stat though. Only the last 3 patches depend on this, if you prefer, I can resend them and add the overload back. Thanks, Shaohua