Darrick J. Wong
49ca9118e6
xfs: fix computation of inode btree maxlevels
...
Commit 88740da18[1] introduced a function to compute the maximum
height of the inode btree back in 1994. Back then, apparently, the
freespace and inode btrees shared the same geometry; however, it has
long since been the case that the inode and freespace btrees have
different record and key sizes. Therefore, we must use m_inobt_mnr if
we want a correct calculation/log reservation/etc.
(Yes, this bug has been around for 21 years and ten months.)
(Yes, I was in middle school when this bug was committed.)
[1] http://oss.sgi.com/cgi-bin/gitweb.cgi?p=archive/xfs-import.git;a=commitdiff;h=88740da18ddd9d7ba3ebaa9502fefc6ef2fd19cd
Historical-research-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2016-03-07 08:39:56 +11:00
..
2016-03-07 08:39:56 +11:00
2014-07-30 09:12:05 +10:00
2015-10-12 16:04:45 +11:00
2016-01-14 16:00:49 -08:00
2015-10-19 08:42:46 +11:00
2013-05-07 18:45:36 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2015-12-06 21:34:16 -05:00
2015-12-06 21:34:16 -05:00
2016-01-08 11:28:35 +11:00
2015-11-03 12:37:02 +11:00
2015-06-23 08:49:01 +10:00
2015-10-12 18:21:22 +11:00
2013-08-12 16:53:39 -05:00
2016-01-11 11:34:01 +11:00
2015-03-25 15:08:56 +11:00
2016-02-10 15:01:11 +11:00
2015-08-25 10:05:13 +10:00
2016-02-10 15:01:11 +11:00
2016-02-10 15:01:30 +11:00
2015-10-12 18:21:22 +11:00
2015-02-23 22:39:08 +11:00
2011-08-12 16:21:35 -05:00
2014-11-28 14:27:09 +11:00
2013-12-13 11:34:08 +11:00
2016-01-11 11:34:01 +11:00
2015-01-09 10:48:58 +11:00
2016-01-04 16:10:19 +11:00
2015-06-22 09:44:02 +10:00
2015-04-15 15:06:57 -04:00
2011-08-12 16:21:35 -05:00
2014-11-28 14:25:04 +11:00
2013-10-23 16:28:49 -05:00
2015-08-19 10:01:08 +10:00
2015-08-19 09:51:16 +10:00
2016-01-23 12:24:56 -08:00
2015-06-22 10:13:30 +10:00
2014-04-23 07:11:52 +10:00
2015-08-19 10:31:41 +10:00
2011-01-11 20:28:17 -06:00
2014-09-09 11:56:13 +10:00
2015-10-12 18:21:22 +11:00
2014-11-28 14:25:04 +11:00
2014-11-28 14:27:09 +11:00
2013-08-12 16:10:35 -05:00
2015-11-03 13:14:59 +11:00
2015-11-03 13:14:59 +11:00
2016-02-10 15:01:11 +11:00
2015-08-19 10:32:49 +10:00
2015-10-12 16:02:56 +11:00
2014-10-02 09:17:58 +10:00
2016-01-04 16:44:15 +11:00
2013-08-12 16:56:06 -05:00
2016-01-12 07:04:30 +11:00
2015-01-09 10:48:12 +11:00
2016-01-22 10:54:13 -08:00
2015-02-23 22:38:08 +11:00
2015-08-19 10:00:53 +10:00
2014-11-07 08:30:30 +11:00
2015-10-12 05:19:45 +11:00
2015-07-29 11:51:01 +10:00
2016-01-05 07:41:16 +11:00
2016-03-07 08:39:36 +11:00
2016-02-10 15:01:30 +11:00
2015-10-12 15:59:25 +11:00
2015-10-12 16:04:45 +11:00
2013-05-07 18:45:36 -05:00
2016-02-10 15:01:11 +11:00
2015-11-03 13:28:41 +11:00
2015-03-25 14:57:53 +11:00
2014-04-23 07:11:51 +10:00
2016-01-22 18:04:28 -05:00
2015-04-13 11:38:29 +10:00
2014-11-28 14:27:09 +11:00
2015-06-04 13:48:08 +10:00
2015-11-11 20:18:48 -08:00
2015-03-04 16:06:36 +01:00
2015-06-01 07:15:37 +10:00
2015-03-04 16:06:38 +01:00
2016-01-11 11:34:01 +11:00
2014-09-09 11:58:42 +10:00
2015-10-19 08:42:46 +11:00
2015-10-12 18:21:22 +11:00
2016-01-14 16:00:49 -08:00
2015-02-23 21:22:31 +11:00
2016-01-11 11:34:01 +11:00
2013-10-08 14:53:02 -05:00
2015-10-12 05:19:45 +11:00
2014-09-09 11:56:13 +10:00
2016-01-05 07:41:16 +11:00
2015-10-12 05:15:45 +11:00
2014-11-28 14:27:09 +11:00
2016-01-08 11:28:35 +11:00
2016-01-19 08:21:46 +11:00
2016-02-10 15:01:11 +11:00
2016-01-04 16:10:42 +11:00
2015-08-19 09:51:43 +10:00
2015-11-03 13:14:59 +11:00
2015-08-19 10:01:08 +10:00
2015-10-12 18:21:22 +11:00
2015-08-19 09:51:43 +10:00
2015-12-06 21:34:16 -05:00
2013-05-07 18:45:36 -05:00