summaryrefslogtreecommitdiff
path: root/src/basic/barrier.h
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2015-02-11 15:26:52 +0100
committerAnthony G. Basile <blueness@gentoo.org>2015-03-01 13:43:00 -0500
commit28860e0e7f6aac4ddc2b584943a076be7651ac3d (patch)
tree465b088cc238b7d1e77d9386d144bf8db051aa50 /src/basic/barrier.h
parente5e0478a43e643c93ce4705e8281aa8292149468 (diff)
rules: Fix by-path of mmc RPMB partitions and don't blkid them
Linux 3.10+ exposes RPMB (Replay Protected Memory Block) partitions of MMC devices [1] ; trying to read them with blkid or other unspecific means will cause kernel buffer I/O errors and timeouts. So don't run blkid on these. Also ensure that /dev/disk/by-path creates proper symlinks and exposes the -rpmb partition separately, instead of letting the "normal" partition symlink point to the rpbm device (this is a race condition). [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=090d25fe224c0 https://launchpad.net/bugs/1333140 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/basic/barrier.h')
0 files changed, 0 insertions, 0 deletions