| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | xfs: untangle the direct I/O and DAX path, fix DAX locking |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Wed, 22 Jun 2016 17:27:08 +0200 |
| Cc: | linux-nvdimm@xxxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
The last patch is what started the series: XFS currently uses the direct I/O locking strategy for DAX because DAX was overloaded onto the direct I/O path. For XFS this means that we only take a shared inode lock instead of the normal exclusive one for writes IFF they are properly aligned. While this is fine for O_DIRECT which requires explicit opt-in from the application it's not fine for DAX where we'll suddenly lose expected and required synchronization of the file system happens to use DAX undeneath. Patches 1-7 just untangle the code so that we can deal with DAX on it's own easily. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/8] xfs: don't pass ioflags around in the ioctl path, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH 2/8] xfs: kill ioflags, Christoph Hellwig |
| Previous by Thread: | Bug (?) : cumulative xfsrestore does not restore files and folders in a directory which was renamed, Damien Gombault |
| Next by Thread: | [PATCH 1/8] xfs: don't pass ioflags around in the ioctl path, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |