[PATCH v8 17/18] xfs: prepare xfs_break_layouts() for another layout type

2018-03-30 Thread Dan Williams
When xfs is operating as the back-end of a pNFS block server, it prevents collisions between local and remote operations by requiring a lease to be held for remotely accessed blocks. Local filesystem operations break those leases before writing or mutating the extent map of the file. A similar

[PATCH v8 17/18] xfs: prepare xfs_break_layouts() for another layout type

2018-03-30 Thread Dan Williams
When xfs is operating as the back-end of a pNFS block server, it prevents collisions between local and remote operations by requiring a lease to be held for remotely accessed blocks. Local filesystem operations break those leases before writing or mutating the extent map of the file. A similar