commit | 5b84e8d6eef82fcf7b1b16d92e29375b85b6549a | [log] [tgz] |
---|---|---|
author | Yan Zheng <zheng.yan@oracle.com> | Thu Oct 09 11:46:19 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Oct 09 11:46:19 2008 -0400 |
tree | d9ab309bc09f8a615aab2c0728272fa773beacf7 | |
parent | 3bb1a1bc42f2ae9582c28adf620484efcd4da38d [diff] |
Btrfs: Fix leaf reference cache miss Due to the optimization for truncate, tree leaves only containing checksum items can be deleted without being COW'ed first. This causes reference cache misses. The way to fix the miss is create cache entries for tree leaves only contain checksum. This patch also fixes a -EEXIST issue in shared reference cache. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>