| To: | linux-fsdevel@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 0/2] splice: fix direct IO/splice deadlock |
| From: | Dave Chinner <david@xxxxxxxxxxxxx> |
| Date: | Wed, 28 Nov 2012 13:12:46 +1100 |
| Cc: | xfs@xxxxxxxxxxx |
Hi Folks, These two patches have been sitting in my tree for some time. I think I've even posted them before. Basically, XFS can deadlock when you use splice and direct IO on the same file concurrently because the splice write inverts the locking order of the i_mutex and the xfs inode i_iolock. The first patch moves the guts of the i_mutex protected region of the splice write to an actor function, and the second uses this structure to enable XFS to provide an actor that uses the correct locking order and hence avoid the deadlock. Comments? Cheers, Dave. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 4/4] xfs: fix sparse reported log CRC endian issue, Dave Chinner |
|---|---|
| Next by Date: | [PATCH 1/2] vfs: split generic splice code from i_mutex locking, Dave Chinner |
| Previous by Thread: | [PATCH 0/4] xfs: patch queue for 3.8, Dave Chinner |
| Next by Thread: | [PATCH 1/2] vfs: split generic splice code from i_mutex locking, Dave Chinner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |