VirtualBox

Changeset 85065 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 6, 2020 11:12:22 AM (4 years ago)
Author:
vboxsync
Message:

Additions/linux/sharedfolders: Assign our own backing device information up to and including Linux kernel 4.11.x

Starting with kernel 4.12.0 the newly introduced super_setup_bdi_name() is used but before we have to assign our own bdi
to prevent the default noop one from being used which has page writeback disabled for example making the mmap() FsPerf tests fail
on those kernels (Ubuntu 16.04.03 for example), bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c

    r82968 r85065  
    422422# endif  /* 4.11.0 > version >= 2.6.24 */
    423423
    424 # if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0)
     424# if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34) && LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
    425425    if (!rc)
    426426        sb->s_bdi = bdi;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette