public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xfs: fix eof zeroing i_size race
@ 2015-09-28 18:37 Brian Foster
  2015-09-28 18:38 ` [PATCH 1/2] xfs: always drain dio before extending aio write submission Brian Foster
  2015-09-28 18:38 ` [PATCH 2/2] xfs: add an xfs_zero_eof() tracepoint Brian Foster
  0 siblings, 2 replies; 4+ messages in thread
From: Brian Foster @ 2015-09-28 18:37 UTC (permalink / raw)
  To: xfs

Hi all,

This addresses an EOF zeroing race that's been reproduced by a somewhat
obscure virtual machine workload on qcow2 vdisks with an increasing
i_size. Patch 1 contains the fix and patch 2 just adds a tracepoint that
helped identify the problem. Thoughts, reviews, flames appreciated.

Brian

Brian Foster (2):
  xfs: always drain dio before extending aio write submission
  xfs: add an xfs_zero_eof() tracepoint

 fs/xfs/xfs_file.c  | 17 +++++++++++------
 fs/xfs/xfs_trace.h |  1 +
 2 files changed, 12 insertions(+), 6 deletions(-)

-- 
2.1.0

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-29 22:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 18:37 [PATCH 0/2] xfs: fix eof zeroing i_size race Brian Foster
2015-09-28 18:38 ` [PATCH 1/2] xfs: always drain dio before extending aio write submission Brian Foster
2015-09-29 22:25   ` Eric Sandeen
2015-09-28 18:38 ` [PATCH 2/2] xfs: add an xfs_zero_eof() tracepoint Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox