Searched hist:c18b812d (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ocfs2/ |
H A D | alloc.c | c18b812d Mon Aug 17 22:44:07 CDT 2009 Tao Ma <tao.ma@oracle.com> ocfs2: Make transaction extend more efficient.
In ocfs2_extend_rotate_transaction, op_credits is the orignal credits in the handle and we only want to extend the credits for the rotation, but the old solution always double it. It is harmless for some minor operations, but for actions like reflink we may rotate tree many times and cause the credits increase dramatically. So this patch try to only increase the desired credits.
Signed-off-by: Tao Ma <tao.ma@oracle.com> c18b812d Mon Aug 17 22:44:07 CDT 2009 Tao Ma <tao.ma@oracle.com> ocfs2: Make transaction extend more efficient. In ocfs2_extend_rotate_transaction, op_credits is the orignal credits in the handle and we only want to extend the credits for the rotation, but the old solution always double it. It is harmless for some minor operations, but for actions like reflink we may rotate tree many times and cause the credits increase dramatically. So this patch try to only increase the desired credits. Signed-off-by: Tao Ma <tao.ma@oracle.com>
|