Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 558380 Details for
Bug 605094
sys-kernel/genkernel-3.4.52.4-r2 does not register bcache
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-linuxrc-Add-support-for-bcache.patch
0001-linuxrc-Add-support-for-bcache.patch (text/plain), 1.23 KB, created by
Florian Schmaus
on 2018-12-22 23:38:48 UTC
(
hide
)
Description:
0001-linuxrc-Add-support-for-bcache.patch
Filename:
MIME Type:
Creator:
Florian Schmaus
Created:
2018-12-22 23:38:48 UTC
Size:
1.23 KB
patch
obsolete
>From da5fbcf6153ae2e1753437bec196bdbe9efcb8a6 Mon Sep 17 00:00:00 2001 >From: Florian Schmaus <flo@geekplace.eu> >Date: Sun, 23 Dec 2018 00:06:19 +0100 >Subject: [PATCH] linuxrc: Add support for bcache > >Closes: https://bugs.gentoo.org/605094 >Signed-off-by: Florian Schmaus <flo@geekplace.eu.eu> >--- > defaults/initrd.scripts | 14 ++++++++++++++ > defaults/linuxrc | 3 +++ > 2 files changed, 17 insertions(+) > >diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts >index f8f9825..005c6e7 100644 >--- a/defaults/initrd.scripts >+++ b/defaults/initrd.scripts >@@ -1215,6 +1215,20 @@ startVolumes() { > fi > fi > fi >+ >+ if [ "${USE_BCACHE}" = '1' ] >+ then >+ if [ -e /sys/fs/bcache ] >+ then >+ good_msg "Registering potential bcache devices" >+ for potential_bcache_device in /dev/sd* /dev/nvm* /dev/md* >+ do >+ echo $potential_bcache_device > /sys/fs/bcache/register_quiet >+ done >+ else >+ bad_msg "No bcache support in kernel detected" >+ fi >+ fi > } > > startiscsi() { >diff --git a/defaults/linuxrc b/defaults/linuxrc >index 17697fc..46aaad0 100644 >--- a/defaults/linuxrc >+++ b/defaults/linuxrc >@@ -130,6 +130,9 @@ do > dobtrfs*) > USE_BTRFS=1 > ;; >+ dobcache) >+ USE_BCACHE=1 >+ ;; > quiet|quiet_genkernel) > QUIET=1 > ;; >-- >2.19.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 605094
: 558380