Skip to content

CentOS 2.6.32-642.13.1.el6 warning #5739

@behlendorf

Description

@behlendorf

System information

Type Version/Name
Distribution Name CentOS
Distribution Version 6.8
Linux Kernel 2.6.32-642.13.1.el6.x86_64
Architecture x86_64
ZFS Version spl-0.6.5.9
SPL Version zfs-0.6.5.9

Describe the problem you're observing

A one time warning after module load that BARRIER is deprecated and FLUSH/FUA is now the preferred interface. The autoconf check should be updated to use the updated interface for the heavily patched CentOS 2.6.32 kernel.

block: BARRIER is deprecated, use FLUSH/FUA instead

This issue only impacts this ancient kernel and since BARRIER is still honored by the kernel the warning is advisory. However, we should resolve this as soon as possible.

Describe how to reproduce the problem

Load the modules and mount the filesystems. A one time warning is generated.

Include any warning/errors/backtraces from the system logs

SPL: Loaded module v0.6.5.9-1
SPLAT: Loaded module v0.6.5.9-1
ZFS: Loaded module v0.6.5.9-1, ZFS pool version 5000, ZFS filesystem version 5
SPL: using hostid 0x00000000
SELinux: initialized (dev zfs, type zfs), uses xattr
 sda: sda1 sda9
 sda: sda1 sda9
 sda: sda1 sda9
------------[ cut here ]------------
WARNING: at block/blk-core.c:1397 blk_queue_bio+0x585/0x610() (Tainted: P           -- ------------   )
Hardware name: HVM domU
block: BARRIER is deprecated, use FLUSH/FUA instead
Modules linked in: zfs(P)(U) zcommon(P)(U) zunicode(P)(U) znvpair(P)(U) zavl(P)(U) splat(U) spl(U) sg sd_mod scsi_debug crc_t10dif ext2 zlib_deflate ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack ip6table_filter ip6_tables ipv6 xen_netfront i2c_piix4 i2c_core ext4 jbd2 mbcache xen_blkfront pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: spl]
Pid: 1200, comm: txg_sync Tainted: P           -- ------------    2.6.32-642.13.1.el6.x86_64 #1
Call Trace:
 [<ffffffff8107c6f1>] ? warn_slowpath_common+0x91/0xe0
 [<ffffffff8107c7f6>] ? warn_slowpath_fmt+0x46/0x60
 [<ffffffff8128d856>] ? throtl_find_tg+0x46/0x60
 [<ffffffff8127fb35>] ? blk_queue_bio+0x585/0x610
 [<ffffffffa03bf19b>] ? spl_kmem_cache_alloc+0x6b/0x8c0 [spl]
 [<ffffffff8127de10>] ? generic_make_request+0x240/0x5a0
 [<ffffffff81130ba5>] ? mempool_alloc_slab+0x15/0x20
 [<ffffffff81130d43>] ? mempool_alloc+0x63/0x140
 [<ffffffffa03bf19b>] ? spl_kmem_cache_alloc+0x6b/0x8c0 [spl]
 [<ffffffff8127e1e0>] ? submit_bio+0x70/0x120
 [<ffffffffa08a7694>] ? vdev_disk_io_start+0x584/0x600 [zfs]
 [<ffffffff81549ede>] ? mutex_lock+0x1e/0x50
 [<ffffffffa08e75ee>] ? zio_wait_for_children+0x8e/0xb0 [zfs]
 [<ffffffff81549ede>] ? mutex_lock+0x1e/0x50
 [<ffffffffa08e8c4e>] ? zio_vdev_io_start+0xae/0x300 [zfs]
 [<ffffffffa08ebd5c>] ? zio_nowait+0x8c/0x100 [zfs]
 [<ffffffffa08ecc13>] ? zio_flush+0x33/0x40 [zfs]
 [<ffffffffa08eaa0e>] ? zio_root+0x1e/0x20 [zfs]
 [<ffffffffa08a7ff8>] ? vdev_label_sync_list+0x138/0x170 [zfs]
 [<ffffffffa08a8427>] ? vdev_config_sync+0x117/0x160 [zfs]
 [<ffffffffa0889e02>] ? spa_sync+0x462/0xb10 [zfs]
 [<ffffffff8105eb69>] ? __wake_up_common+0x59/0x90
 [<ffffffff81007ca9>] ? xen_clocksource_get_cycles+0x9/0x10
 [<ffffffffa089fd58>] ? txg_sync_thread+0x3d8/0x670 [zfs]
 [<ffffffffa089f980>] ? txg_sync_thread+0x0/0x670 [zfs]
 [<ffffffffa089f980>] ? txg_sync_thread+0x0/0x670 [zfs]
 [<ffffffffa03c1238>] ? thread_generic_wrapper+0x68/0x80 [spl]
 [<ffffffffa03c11d0>] ? thread_generic_wrapper+0x0/0x80 [spl]
 [<ffffffff810a640e>] ? kthread+0x9e/0xc0
 [<ffffffff8100c28a>] ? child_rip+0xa/0x20
 [<ffffffff810a6370>] ? kthread+0x0/0xc0
 [<ffffffff8100c280>] ? child_rip+0x0/0x20
---[ end trace 99e616e051744a2c ]---

Metadata

Metadata

Assignees

Labels

Type: BuildingIndicates an issue related to building binaries

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions