commit | b7b2846fe26f2c0d7f317c874a13d3ecf22670ff | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 07 19:07:02 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 14 09:17:35 2017 -0800 |
tree | ae535b8a61a4e8721e038c3dc5727f5192c02dc5 | |
parent | b7e0b6ff54dd92febbb1914ab93cd6a21622e169 [diff] |
xfs: add the ability to join a held buffer to a defer_ops In certain cases, defer_ops callers will lock a buffer and want to hold the lock across transaction rolls. Similar to ijoined inodes, we want to dirty & join the buffer with each transaction roll in defer_finish so that afterwards the caller still owns the buffer lock and we haven't inadvertently pinned the log. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>