Eric Sandeen 0be1fecd7e md faulty: use disk_stack_limits()
in:
fe86cdce block: do not artificially constrain max_sectors for stacking drivers

max_sectors defaults to UINT_MAX.  md faulty wasn't using
disk_stack_limits(), so inherited this large value as well.
This triggered a bug in XFS when stressed over md_faulty, when
a very large bio_alloc() failed.

That was on an older kernel, and I can't reproduce exactly the
same thing upstream, but I think the fix is appropriate in any
case.

Thanks to Mike Snitzer for pointing out the problem.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2012-10-22 10:44:55 +11:00
..
2012-03-28 18:41:29 +01:00
2012-09-09 10:35:38 +02:00
2012-07-30 17:25:16 -07:00
2012-10-12 21:02:15 +01:00
2012-10-22 10:44:55 +11:00
2012-10-11 13:08:44 +11:00
2012-10-13 13:22:01 -07:00
2012-10-11 13:25:44 +11:00
2012-10-13 13:22:01 -07:00
2012-10-11 13:49:05 +11:00
2012-10-13 13:22:01 -07:00