5 Commits

Author SHA1 Message Date
cheliequan
84558fec5f [PATCH] bcache-tools: Export CACHED_UUID and CACHED_LABEL
https://github.com/koverstreet/bcache-tools/pull/1

    Add bcache-export-cached helper to export CACHED_UUID and CACHED_LABEL always

    Linux kernel bcache driver does not always emit a uevent[1] for when
    a backing device is bound to a bcacheN device.  When this happens, the udev
    rule for creating /dev/bcache/by-uuid or /dev/bcache/by-label symlinks does
    not fire and removes any persistent symlink to a specific backing device
    since the bcache minor numbers (bcache0, 1, 2) are not guaranteed across reboots.

    This script reads the superblock of the bcache device slaves,ensuring the slave
    is a backing device via sb.version check, extracts the dev.uuid and
    dev.label values and exports them to udev for triggering the symlink rules in
    the existing rules file.

    1. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1729145

    Signed-off-by: Shaoxiong Li <dahefanteng@gmail.com>
    Signed-off-by: Coly Li <colyli@suse.de>
    Signed-off-by: cheliequan <cheliequan@inspur.com>
2024-11-04 17:15:25 +08:00
swf504
799d05e048 Add safe compilation options PIE/pie/PIC/FS
Add safe compilation options PIE/pie/PIC/FS

Signed-off-by: swf504 <suweifeng1@huawei.com>
(cherry picked from commit baef578b501efe4382b2f5df93267dac26270107)
2023-03-07 14:07:29 +08:00
haomi123
6486e05882 fix-changelog-date
(cherry picked from commit 05835758b5be9c5f1fdf36ea50b792e011522452)
2022-06-17 15:47:36 +08:00
caodongxia
f104101dd6 add safe compilation options fstack-protector-strong 2021-09-08 18:09:15 +08:00
Zhiqiang Liu
20e9022103 bcache-tools: init bcache-tools package with v1.1 version
bcache is a Linux kernel block layer cache. It allows
one or more fast disk drives such as flash-based solid
state drives(SSDs) to act as a cache for one or more
slower hard disk drives.
bcache-tools containes the userspace tools required for
bcache. Here we init bcache-tools package with v1.1 version.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2021-01-06 12:19:46 +08:00