Stop rpc.mountd from probing all known devices which causes
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 13 Mar 2008 15:30:18 +0000 (11:30 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 13 Mar 2008 15:30:18 +0000 (11:30 -0400)
idle disks to spin up for basically no reason.

Signed-off-by: Steinar H. Gunderson <sgunderson@bigfoot.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mountd/cache.c

index 3a50c26..f555dcc 100644 (file)
@@ -184,8 +184,6 @@ int get_uuid(char *path, char *uuid, int uuidlen, char *u)
                if (cache == NULL)
                        blkid_get_cache(&cache, NULL);
 
-               blkid_probe_all_new(cache);
-
                if (stat(path, &stb) != 0)
                        return 0;
                devname = blkid_devno_to_devname(stb.st_dev);