Bug#696650: [PATCH v5] md: protect against crash upon fsync on ro array

2013-01-31 Thread Sebastian Riemer
On 29.01.2013 13:29, Paul Menzel wrote: Any further objection? Small typo (occurs) in commit message. From adfac4df99edc1a83dced9c732464634d3381a9f Mon Sep 17 00:00:00 2001 From: Sebastian Riemer sebastian.rie...@profitbricks.com Date: Fri, 25 Jan 2013 12:46:59 +0100 Subject: [PATCH v5] md: protect

Bug#696650: [PATCH v4] md: protect against crash upon fsync on ro array

2013-01-29 Thread Sebastian Riemer
the set_disk_ro in md_set_readonly. Then, I did direct IO writes on the read-only array and it worked - I've received Input/output error in the user space. I've attached version 4 of the patch. Any further objection? From adfac4df99edc1a83dced9c732464634d3381a9f Mon Sep 17 00:00:00 2001 From: Sebastian Riemer

Bug#696650: [PATCH v2] md: protect against crash upon fsync on ro array

2013-01-28 Thread Sebastian Riemer
fe0357344877c9b9cc623fd582a4e0670e448317 Mon Sep 17 00:00:00 2001 From: Sebastian Riemer sebastian.rie...@profitbricks.com Date: Fri, 25 Jan 2013 12:46:59 +0100 Subject: [PATCH v2] md: protect against crash upon fsync on ro array If an fsync occurrs on a read-only array, we need to send a completion

Bug#696650: [PATCH v3] md: protect against crash upon fsync on ro array

2013-01-28 Thread Sebastian Riemer
On 28.01.2013 11:32, Sebastian Riemer wrote: O.K., then I hope Neil applies the attached patch. I've changed the return value to success. This is also something for linux-stable and should apply to many kernel versions without an issue. I've tried to race with continuous fsyncs against