Re: [PATCH 06/10] mount: fsprobe: use blkid cache only when really necessary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just found this list after realizing util-linux forked and writing a nearly
identical patch for util-linux just yesterday to only use the blkid cache when
mounting by label or uuid.

I noticed your patch reads the blkid cache when guessing the filesystem type,
which is the one difference from my patch.  I left that out because the cost
of using libblkid is almost certainly more expensive than simply using the
filesystem detection logic, especially with a large number of devices.  Also,
that way libblkid is used for what it is intended to optimize: caching uuids
and labels to prevent having to scan n**2 devices in order to mount by uuid.

See my test case documented at: http://www.shapor.com/libblkid/, with a link
to the thread on linux-ext4 which I cc'ed the maintainer of util-linux on with
no response (yet).

Its refreshing to see work being done on util-linux with an active mailing
list and some issues with core Linux infrastructure being attended to.  Keep
up the good work!

Regards,
Shapor
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux