From: Daeho Jeong Subject: [PATCH] ext4, jbd2: add REQ_FUA flag when recording an error flag Date: Tue, 23 Jun 2015 02:19:19 +0000 (GMT) Message-ID: <1153399123.83011435025959601.JavaMail.weblogic@ep2mlwas05d> Reply-To: daeho.jeong@samsung.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 To: linux-ext4@vger.kernel.org Return-path: Received: from mailout4.samsung.com ([203.254.224.34]:52145 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753163AbbFWCTY (ORCPT ); Mon, 22 Jun 2015 22:19:24 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NQD0102SL477L70@mailout4.samsung.com> for linux-ext4@vger.kernel.org; Tue, 23 Jun 2015 11:19:19 +0900 (KST) MIME-version: 1.0 Sender: linux-ext4-owner@vger.kernel.org List-ID: V2hlbiBhbiBlcnJvciBjb25kaXRpb24gaXMgZGV0ZWN0ZWQsIGFuIGVycm9yIHN0YXR1cyBzaG91 bGQgYmUgcmVjb3JkZWQgaW50bw0Kc3VwZXJibG9ja3Mgb2YgRVhUNCBvciBKQkQyLiBIb3dldmVy LCB0aGUgd3JpdGUgcmVxdWVzdCBpcyBzdWJtaXR0ZWQgbm93DQp3aXRob3V0IFJFUV9GVUEgZmxh ZywgZXZlbiBpbiAiYmFycmllcj0xIiBtb2RlLCB3aGljaCBpcyBmb2xsb3dlZCBieQ0KcGFuaWMo KSBmdW5jdGlvbiBpbiAiZXJyb3JzPXBhbmljIiBtb2RlLiBPbiBtb2JpbGUgZGV2aWNlcyB3aGlj aCBtYWtlDQp3aG9sZSBzeXN0ZW0gcmVzZXQgYXMgc29vbiBhcyBrZXJuZWwgcGFuaWMgb2NjdXJz LCB0aGlzIHdyaXRlIHJlcXVlc3QNCmNvbnRhaW5p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lOQyk7DQorIGpiZDJfd3JpdGVfc3VwZXJi bG9jayhqb3VybmFsLCBXUklURV9GVUEpOw0KIH0NCiBFWFBPUlRfU1lNQk9MKGpiZDJfam91cm5h bF91cGRhdGVfc2JfZXJybm8pOw0KIA0K -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in