]> git.neil.brown.name Git - history.git/commit
[PATCH] MD - Don't "analyze_sb" when creating new array.
authorNeil Brown <neilb@cse.unsw.edu.au>
Fri, 19 Jul 2002 02:07:14 +0000 (19:07 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Fri, 19 Jul 2002 02:07:14 +0000 (19:07 -0700)
commit376163dfc1baabdb9af2875f816e20a1365c9d5b
tree4128e731191e0bd846ad7c7ca04659db7dc560d1
parente3de153e7a5c327619ea564046d937af5ae75924
[PATCH] MD - Don't "analyze_sb" when creating new array.

Don't "analyze_sb" when creating new array.

When creating a new array (and we have an mddev->sb),
don't both to analyze the superblocks.  There is no point.
Also, these means we always allocate the array sb in
analyze_sbs, rather than conditionally.
drivers/md/md.c