12 Commits

Author SHA1 Message Date
cheliequan
595d00a2cd [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>

(cherry picked from commit 84558fec5f0e4ae5f38ac34dde1775d4eeb766e2)
2024-12-16 14:34:11 +08:00
openeuler-ci-bot
0fd20acb9e
!13 【轻量级 PR】:Add safe compilation options PIE/pie/PIC/FS
From: @swf504 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-03-07 06:07:14 +00:00
swf504
baef578b50
Add safe compilation options PIE/pie/PIC/FS
Add safe compilation options PIE/pie/PIC/FS

Signed-off-by: swf504 <suweifeng1@huawei.com>
2023-03-07 03:45:54 +00:00
openeuler-ci-bot
60ff35ae05
!5 fix-changelog-date
From: @haomi0602 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-06-17 07:47:28 +00:00
haomi123
05835758b5
fix-changelog-date 2022-05-12 07:53:16 +00:00
openeuler-ci-bot
2618bf7c19 !4 [sync] PR-3: add safe compilation options fstack-protector-strong
From: @openeuler-sync-bot
Reviewed-by: @liuzhiqiang26
Signed-off-by: @liuzhiqiang26
2021-09-10 07:25:58 +00:00
caodongxia
096a9610f4 add safe compilation options fstack-protector-strong
(cherry picked from commit f104101dd6a9a43d8a7bf8fbb66da9fce35a92b5)
2021-09-10 15:18:00 +08:00
openeuler-ci-bot
8616c147fb !2 bcache-tools: add yaml file for CI
From: @liuzhiqiang26
Reviewed-by: @markeryang,@volcanodragon,@wubo009
Signed-off-by: @wubo009
2021-02-07 14:53:25 +08:00
Zhiqiang Liu
218af6f0e0 bcache-tools: add yaml file for CI
add yaml file for CI.

Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
2021-02-04 17:00:28 +08:00
openeuler-ci-bot
55cdfea10b !1 bcache-tools: init bcache-tools package with v1.1 version
From: @liuzhiqiang26
Reviewed-by: @wubo009
Signed-off-by: @volcanodragon
2021-01-06 14:49:40 +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
openeuler-ci-bot
1e9cd91498 Initial commit 2020-12-23 10:46:23 +08:00