From: "HUANG Weller (CM/ESW12-CN)" Subject: RE: ext4 out of order when use cfq scheduler Date: Wed, 3 Feb 2016 06:08:52 +0000 Message-ID: References: <697280a570654ae0aa1723fb7d11f51e@SGPMBX1004.APAC.bosch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: "linux-ext4@vger.kernel.org" , "Li, Michael" To: Xiong Zhou Return-path: Received: from smtp6-v.fe.bosch.de ([139.15.237.11]:54079 "EHLO smtp6-v.fe.bosch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752568AbcBCGI6 (ORCPT ); Wed, 3 Feb 2016 01:08:58 -0500 In-Reply-To: Content-Language: en-US Sender: linux-ext4-owner@vger.kernel.org List-ID: DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogWGlvbmcgWmhvdSBbbWFp bHRvOmplbmNjZS5rZXJuZWxAZ21haWwuY29tXQ0KPiBTZW50OiBUaHVyc2RheSwgSmFudWFyeSAy OCwgMjAxNiA0OjAzIFBNDQo+IFRvOiBIVUFORyBXZWxsZXIgKENNL0VTVzEyLUNOKSA8V2VsbGVy Lkh1YW5nQGNuLmJvc2NoLmNvbT4NCj4gQ2M6IGxpbnV4LWV4dDRAdmdlci5rZXJuZWwub3JnOyBM aSwgTWljaGFlbCA8aHVheWlsQHF0aS5xdWFsY29tbS5jb20+DQo+IFN1YmplY3Q6IFJlOiBleHQ0 IG91dCBvZiBvcmRlciB3aGVuIHVzZSBjZnEgc2NoZWR1bGVyDQo+IA0KPiBPbiBUdWUsIERlYyAy MiwgMjAxNSBhdCAyOjI0IFBNLCBIVUFORyBXZWxsZXIgKENNL0VQRjEtQ04pDQo+IDxXZWxsZXIu SHVhbmdAY24uYm9zY2guY29tPiB3cm90ZToNCj4gPiBIaSBFWFQ0IGRldmVsb3BlcnMsDQo+ID4N Cj4gPiBJIGFtIGRvaW5nIHRoZSBwb3dlciBmYWlsdXJl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