RE: [BUG] Possible silent data corruption in filesystems/page cache

2016-06-07 Thread Barczak, Mariusz
ux-bl...@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; Wysoczanski, Michal ; Baldyga, Robert ; Roman, Agnieszka Subject: Re: [BUG] Possible silent data corruption in filesystems/page cache On Mon, Jun 06, 2016 at 07:29:42AM +, Barczak, Mariusz wrote: > Hi

Re: [BUG] Possible silent data corruption in filesystems/page cache

2016-06-06 Thread Theodore Ts'o
On Mon, Jun 06, 2016 at 07:29:42AM +, Barczak, Mariusz wrote: > Hi, Let me elaborate problem in detail. > > For buffered IO data are copied into memory pages. For this case, > the write IO is not submitted (generally). In the background opportunistic > cleaning of dirty pages takes place and

RE: [BUG] Possible silent data corruption in filesystems/page cache

2016-06-06 Thread Barczak, Mariusz
Cc: Andrew Morton ; Jens Axboe ; Alexander Viro ; linux...@kvack.org; linux-bl...@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; Wysoczanski, Michal ; Baldyga, Robert ; Roman, Agnieszka Subject: Re: [BUG] Possible silent data corruption in filesystems/page

Re: [BUG] Possible silent data corruption in filesystems/page cache

2016-06-02 Thread Andreas Dilger
On Jun 1, 2016, at 3:51 AM, Barczak, Mariusz wrote: > > We run data validation test for buffered workload on filesystems: > ext3, ext4, and XFS. > In context of flushing page cache block device driver returned IO error. > After dropping page cache our validation tool reported data corruption. Hi

[BUG] Possible silent data corruption in filesystems/page cache

2016-06-01 Thread Barczak, Mariusz
Hi We run data validation test for buffered workload on filesystems: ext3, ext4, and XFS. In context of flushing page cache block device driver returned IO error. After dropping page cache our validation tool reported data corruption. We provided a simple patch in order to inject IO error in devi