https://github.com/torvalds/linux
Revision 01ab5662f573fe3a6bcefa200f15ab3069cec8a3 authored by NeilBrown on 28 October 2006, 17:38:30 UTC, committed by Linus Torvalds on 28 October 2006, 18:30:51 UTC
When "mdadm --grow --size=xxx" is used to resize an array (use more or less of
each device), we check the new siza against the available space in each
device.

We already have that number recorded in rdev->size, so calculating it is
pointless (and wrong in one obscure case).

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 2b6e845
History
Tip revision: 01ab5662f573fe3a6bcefa200f15ab3069cec8a3 authored by NeilBrown on 28 October 2006, 17:38:30 UTC
[PATCH] md: simplify checking of available size when resizing an array
Tip revision: 01ab566
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 542 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.2 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 73.8 KB
Makefile -rw-r--r-- 49.0 KB
README -rw-r--r-- 16.2 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top