Re: [v2 PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of WB_SYNC_ALL

2014-04-01 Thread Andrew Morton
On Sat, 15 Mar 2014 00:34:28 +0900 Roman Pen wrote: > When data integrity operation happens (sync, fsync, fdatasync calls) > writeback control is set to WB_SYNC_ALL. In that case all write > requests are marked with WRITE_SYNC (WRITE | REQ_SYNC | REQ_NOIDLE) > indicating that caller is waiting fo

[v2 PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of WB_SYNC_ALL

2014-03-14 Thread Roman Pen
When data integrity operation happens (sync, fsync, fdatasync calls) writeback control is set to WB_SYNC_ALL. In that case all write requests are marked with WRITE_SYNC (WRITE | REQ_SYNC | REQ_NOIDLE) indicating that caller is waiting for completion and block layer or block device should prioritize