Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 859041 Details for
Bug 903117
Linux kernel 6.2.8 breaks sys-fs/zfs-kmod-2.1.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
blkdev_compat.h patched for Linux 6.2.8 compatibility
blkdev_compat.h-linux-6.2.8.patch (text/plain), 1.07 KB, created by
Adrien Dessemond
on 2023-03-26 14:43:04 UTC
(
hide
)
Description:
blkdev_compat.h patched for Linux 6.2.8 compatibility
Filename:
MIME Type:
Creator:
Adrien Dessemond
Created:
2023-03-26 14:43:04 UTC
Size:
1.07 KB
patch
obsolete
>--- a/include/os/linux/kernel/linux/blkdev_compat.h 2023-01-25 14:11:42.214766890 -0500 >+++ b/include/os/linux/kernel/linux/blkdev_compat.h 2023-03-26 10:06:20.204456348 -0400 >@@ -555,7 +555,10 @@ > struct gendisk *disk __attribute__((unused)), > int rw __attribute__((unused)), struct bio *bio) > { >-#if defined(HAVE_BDEV_IO_ACCT) >+#if defined(HAVE_BDEV_IO_ACCT_63) >+ return (bdev_start_io_acct(bio->bi_bdev, bio_op(bio), >+ jiffies)); >+#elif defined(HAVE_BDEV_IO_ACCT_OLD) > return (bdev_start_io_acct(bio->bi_bdev, bio_sectors(bio), > bio_op(bio), jiffies)); > #elif defined(HAVE_DISK_IO_ACCT) >@@ -581,7 +584,10 @@ > struct gendisk *disk __attribute__((unused)), > int rw __attribute__((unused)), struct bio *bio, unsigned long start_time) > { >-#if defined(HAVE_BDEV_IO_ACCT) >+#if defined(HAVE_BDEV_IO_ACCT_63) >+ bdev_end_io_acct(bio->bi_bdev, bio_op(bio), bio_sectors(bio), >+ start_time); >+#elif defined(HAVE_BDEV_IO_ACCT_OLD) > bdev_end_io_acct(bio->bi_bdev, bio_op(bio), start_time); > #elif defined(HAVE_DISK_IO_ACCT) > disk_end_io_acct(disk, bio_op(bio), start_time);
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 903117
:
859039
|
859041
|
859043