Mark Fasheh
1d46dc08d3
ocfs2: fix leaf start calculation in ocfs2_dx_dir_rebalance()
...
ocfs2_dx_dir_rebalance() is passed the block offset of a dx leaf which needs
rebalancing. Since we rebalance an entire cluster at a time however, this
function needs to calculate the beginning of that cluster, in blocks. The
calculation was wrong, which would result in a read of non-leaf blocks. Fix
the calculation by adding ocfs2_block_to_cluster_start() which is a more
straight-forward way of determining this.
Reported-by: Tristan Ye <tristan.ye@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
2009-04-03 11:39:17 -07:00
..
2009-04-03 11:39:14 -07:00
2009-02-26 11:51:11 -08:00
2009-03-31 23:00:26 -04:00
2009-01-05 08:34:20 -08:00
2009-04-03 11:39:15 -07:00
2009-04-03 11:39:15 -07:00
2009-03-12 16:45:46 -07:00
2009-01-05 08:40:35 -08:00
2009-01-05 08:40:31 -08:00
2009-01-05 08:40:24 -08:00
2009-01-05 08:36:53 -08:00
2009-03-27 14:44:02 -04:00
2009-03-27 14:44:02 -04:00
2009-04-03 11:39:17 -07:00
2009-04-03 11:39:16 -07:00
2009-02-26 11:51:09 -08:00
2009-01-05 08:40:23 -08:00
2008-10-23 05:13:01 -04:00
2009-01-05 08:36:54 -08:00
2009-01-05 08:36:54 -08:00
2009-01-08 08:31:14 -08:00
2009-01-05 08:40:23 -08:00
2008-04-18 08:56:04 -07:00
2008-04-18 08:56:04 -07:00
2009-04-03 11:39:16 -07:00
2009-01-05 08:40:23 -08:00
2008-10-13 17:02:44 -07:00
2008-04-18 08:56:11 -07:00
2009-04-03 11:39:15 -07:00
2009-04-03 11:39:16 -07:00
2009-01-22 13:15:54 +03:00
2009-04-03 11:39:15 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2009-01-05 08:40:31 -08:00
2009-04-01 08:59:14 -07:00
2009-04-03 11:39:17 -07:00
2008-02-03 17:33:42 +02:00
2009-04-03 11:39:16 -07:00
2009-01-05 08:40:23 -08:00
2008-02-06 16:11:29 -08:00
2009-04-03 11:39:17 -07:00
2009-02-02 14:20:17 -08:00
2009-01-05 08:40:32 -08:00
2009-01-05 08:40:24 -08:00
2009-01-05 08:40:32 -08:00
2009-01-05 08:36:53 -08:00
2008-04-18 08:56:03 -07:00
2008-06-16 10:46:52 -07:00
2008-12-01 14:46:39 -08:00
2008-10-13 17:02:44 -07:00
2008-10-13 13:57:57 -07:00
2009-01-05 08:40:32 -08:00
2009-01-05 08:36:53 -08:00
2009-04-03 11:39:15 -07:00
2009-01-05 08:36:52 -08:00
2008-10-13 17:02:44 -07:00
2008-10-13 13:57:59 -07:00
2008-01-25 15:05:46 -08:00
2009-04-03 11:39:15 -07:00
2009-04-03 11:39:15 -07:00