| commit | 9cf6cfea131d51be289cc7819c3893727270c2f9 | [log] [tgz] |
|---|---|---|
| author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | Wed Dec 04 20:34:31 2013 +0900 |
| committer | Daniel Phillips <daniel@tux3.org> | Wed Dec 04 20:34:31 2013 +0900 |
| tree | 9c40da96308973f82b60092f38723dafed50baf7 | |
| parent | aa006a45ae4f54631ed99c50307a312c3845b513 [diff] |
tux3: Add ->leaf_pre_write() callback to btree_write() For overwrite mode, we don't want to dirty leaf if all extents are exists already. But, current btree_write() dirty leaf unconditionally. So, this adds ->leaf_pre_write() callback before dirty leaf. With this, leaf operations can control whether leaf is dirtied or not. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>