From: "Verma, Vishal L" Subject: Re: [PATCH v2 5/5] dax: handle media errors in dax_do_io Date: Fri, 15 Apr 2016 16:54:48 +0000 Message-ID: <1460739288.3012.3.camel@intel.com> References: <1459303190-20072-1-git-send-email-vishal.l.verma@intel.com> <1459303190-20072-6-git-send-email-vishal.l.verma@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Cc: "Wilcox, Matthew R" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "hch@infradead.org" , "linux-nvdimm@ml01.01.org" , "xfs@oss.sgi.com" , "linux-mm@kvack.org" , "viro@zeniv.linux.org.uk" , "akpm@linux-foundation.org" , "axboe@fb.com" , "linux-fsdevel@vger.kernel.org" , "linux-ext4@vger.kernel.org" , "david@fromorbit.com" , "jack@suse.cz" To: "jmoyer@redhat.com" Return-path: In-Reply-To: Content-Language: en-US Content-ID: <16063EC031B1C2489B91594D65C22F50@intel.com> Sender: owner-linux-mm@kvack.org List-Id: linux-ext4.vger.kernel.org T24gRnJpLCAyMDE2LTA0LTE1IGF0IDEyOjExIC0wNDAwLCBKZWZmIE1veWVyIHdyb3RlOg0KPiBW aXNoYWwgVmVybWEgPHZpc2hhbC5sLnZlcm1hQGludGVsLmNvbT4gd3JpdGVzOg0KPiANCj4gPiAN Cj4gPiBkYXhfZG9faW8gKGNhbGxlZCBmb3IgcmVhZCgpIG9yIHdyaXRlKCkgZm9yIGEgZGF4IGZp bGUgc3lzdGVtKSBtYXkNCj4gPiBmYWlsDQo+ID4gaW4gdGhlIHByZXNlbmNlIG9mIGJhZCBibG9j a3Mgb3IgbWVkaWEgZXJyb3JzLiBTaW5jZSB3ZSBleHBlY3QgdGhhdA0KPiA+IGENCj4gPiB3cml0 ZSBzaG91bGQgY2xlYXIgbWVkaWEgZXJyb3JzIG9uIG52ZGltbXMsIG1ha2UgZGF4X2RvX2lvIGZh bGwNCj4gPiBiYWNrIHRvDQo+ID4gdGhlIGRpcmVjdF9JTy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fZGlyZWN0X0lPIGNhbiByZXR1cm4gLUVJT0NCUVVF VUVELCBhbmQgeW91J3ZlIG5vdyB0dXJuZWQNCj4gdGhhdA0KPiBpbnRvIC1FSU8uwqDCoFJlYWxs eSwgSSBkb24ndCBzZWUgYSByZWFzb24gdG8gc2F2ZSB0aGF0IGZpcnN0DQo+IC1FSU8uwqDCoFRo ZQ0KPiBzYW1lIGFwcGxpZXMgdG8gYWxsIGluc3RhbmNlcyBpbiB0aGlzIHBhdGNoLg0KDQpUaGUg cmVhc29uIEkgc2F2ZWQgaXQgd2FzIGlmIF9fYmxvY2tkZXZfZGlyZWN0X0lPIGZhaWxzIGZvciBz b21lDQpyZWFzb24sIHdlIHNob3VsZCByZXR1cm4gdGhlIG9yaWdpbmFsIGNhdXNlIG8gdGhlIGVy cm9yLCB3aGljaCB3YXMgYW4NCkVJTy4uIGkuZS4gd2Ugc2hvdWxkbid0IGJlIGhpZGluZyB0aGUg RUlPIGlmIHRoZSBkaXJlY3RfSU8gZmFpbHMgd2l0aA0Kc29tZXRoaW5nIGVsc2UuLg0KQnV0LCBo b3cgZG9lcyBfRUlPQ0JRVUVVRUQgd29yaz8gTWF5YmUgd2UgbmVlZCBhbiBleGNlcHRpb24gZm9y IGl0P8KgDQoNClRoYW5rcywNCgktVmlzaGFs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org