SHARE
Facebook X Pinterest WhatsApp

Linux Storage and Filesystem workshop, day 1

Written By
JC
Jonathan Corbet
Apr 24, 2009

“Things began with a quick recap of the action items from the
previous year. Some of these had been fairly well resolved over
that time; these include power management, support for object
storage devices, fibre channel over Ethernet, barriers on by
default in ext4, the fallocate() system call, and enabling relatime
by default. The record for some other objectives is not quite so
good; low-level error handling is still not what it could be, “too
much work” has been done with I/O bandwidth controllers while
nothing has made it upstream, the union filesystem problem has not
been solved, etc. As a whole, a lot has been done, but a lot
remains to do.

“Device discovery

“Joel Becker and Kay Sievers led a session on device discovery.
On a contemporary system, device numbers are not stable across
reboots, and neither are device names. So anything in the system
which must work with block devices and filesystems must somehow
find the relevant device first. Currently, that is being done by
scanning through all of the devices on the system. That works
reasonably well on a laptop, but it is a real problem on systems
with huge numbers of block devices. There are stories of large
systems taking hours to boot, with the bulk of that time being
spent scanning (repeatedly – once for every mount request) through
known devices.

“What comes out of the discussion, of course, is that user space
needs a better way to locate devices. A given program may be
searching for a specific filesystem label, UUID, or something else;
a good search API would support all of these modes and more. What
would be best would be to build some sort of database where each
new device is added at discovery time. As additional information
becomes available (when a filesystem label is found, for example),
it is added to the database. Then, when a specific search is done,
the information has already been gathered and a scan of the
system’s devices is no longer necessary.”

Complete Story

JC

Jonathan Corbet

Recommended for you...

5 Best Free and Open Source Text Expander Tools
webmaster
Jun 13, 2025
Grafito: Systemd Journal Log Viewer with a Beautiful Web UI
Bobby Borisov
Jun 12, 2025
FreeBSD Wants to Know a Few Things
brideoflinux
May 11, 2025
NVK enabled for Maxwell, Pascal, and Volta GPUs
Kara Bembridge
May 1, 2025
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.