xfs
[Top] [All Lists]

[PATCH 0/8 v2] xfs: fix direct IO completion issues

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/8 v2] xfs: fix direct IO completion issues
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 14 Apr 2015 17:26:43 +1000
Delivered-to: xfs@xxxxxxxxxxx
Hi folks,

This is the second version of the series I first posted here:

http://oss.sgi.com/archives/xfs/2015-04/msg00097.html

I've reworked and refactored the first two patches in the series,
breaking them out into simpler, more self contained patches.

The main change from the previous version is that I dropped the
pre-allocation of the append transaction to avoid the nesting
problems it could cause.

The only other major change is that the ioend is only allocated when
a mapping is either for an unwritten region or spans EOF. hence if the
mapping is an overwrite within EOF we do not allocate an ioend, we
do not defer completion to the DIO workqueue and we do nothing in
the completion function as there is nothing to do.

Comments, thoughts?

-Dave.

<Prev in Thread] Current Thread [Next in Thread>