Re: Host managed SMR drive issue
4 messages,
2 authors,
2021-10-11 · open the first message on its own page
[ +Cc linux-btrfs ]
On 07/10/2021 14:18, Sven Oehme wrote: Thu Oct 7 06:09:30 2021] ------------[ cut here ]------------
[Thu Oct 7 06:09:30 2021] BTRFS: Transaction aborted (error -22)
[Thu Oct 7 06:09:30 2021] WARNING: CPU: 8 PID: 73260 at fs/btrfs/ctree.c:491
__btrfs_cow_block+0x3d8/0x5a0 [btrfs]
[Thu Oct 7 06:09:30 2021] Modules linked in: vhost_vsock
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_conntrack
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user nft_counter rpcsec_gss_krb5 nfsv4 nfs
fscache netfs xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge stp
llc cuse overlay nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc
scsi_dh_alua intel_rapl_msr intel_rapl_common amd64_edac edac_mce_amd kvm_amd
kvm rapl efi_pstore ipmi_ssif joydev input_leds ftdi_sio usbserial ccp k10temp
acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler mac_hid sch_fq_codel nfsd
auth_rpcgss nfs_acl lockd grace msr sunrpc ip_tables x_tables autofs4 btrfs
blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear
ses enclosure hid_lenovo hid_generic usbhid hid ast drm_vram_helper
drm_ttm_helper ttm crct10dif_pclmul drm_kms_helper
[Thu Oct 7 06:09:30 2021] crc32_pclmul syscopyarea ghash_clmulni_intel
sysfillrect sysimgblt aesni_intel fb_sys_fops crypto_simd cec cryptd rc_core
nvme mpt3sas ahci drm ixgbe raid_class libahci igb smartpqi nvme_core xhci_pci
xfrm_algo scsi_transport_sas xhci_pci_renesas i2c_piix4 dca i2c_algo_bit mdio
[Thu Oct 7 06:09:30 2021] CPU: 8 PID: 73260 Comm: kworker/u98:0 Not tainted
5.13.0-rc6-fix2 #3
Hi sorry for the late reply, I've been to a conference.
This is already fixed in current btrfs misc-next, but not sure if the fix is
already in Linus' tree.
On Mon, Oct 11, 2021 at 06:32:35AM +0000, Johannes Thumshirn wrote: [ +Cc linux-btrfs ]
On 07/10/2021 14:18, Sven Oehme wrote: quoted Thu Oct 7 06:09:30 2021] ------------[ cut here ]------------
[Thu Oct 7 06:09:30 2021] BTRFS: Transaction aborted (error -22)
[Thu Oct 7 06:09:30 2021] WARNING: CPU: 8 PID: 73260 at fs/btrfs/ctree.c:491
__btrfs_cow_block+0x3d8/0x5a0 [btrfs]
[Thu Oct 7 06:09:30 2021] Modules linked in: vhost_vsock
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_conntrack
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user nft_counter rpcsec_gss_krb5 nfsv4 nfs
fscache netfs xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge stp
llc cuse overlay nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc
scsi_dh_alua intel_rapl_msr intel_rapl_common amd64_edac edac_mce_amd kvm_amd
kvm rapl efi_pstore ipmi_ssif joydev input_leds ftdi_sio usbserial ccp k10temp
acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler mac_hid sch_fq_codel nfsd
auth_rpcgss nfs_acl lockd grace msr sunrpc ip_tables x_tables autofs4 btrfs
blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear
ses enclosure hid_lenovo hid_generic usbhid hid ast drm_vram_helper
drm_ttm_helper ttm crct10dif_pclmul drm_kms_helper
[Thu Oct 7 06:09:30 2021] crc32_pclmul syscopyarea ghash_clmulni_intel
sysfillrect sysimgblt aesni_intel fb_sys_fops crypto_simd cec cryptd rc_core
nvme mpt3sas ahci drm ixgbe raid_class libahci igb smartpqi nvme_core xhci_pci
xfrm_algo scsi_transport_sas xhci_pci_renesas i2c_piix4 dca i2c_algo_bit mdio
[Thu Oct 7 06:09:30 2021] CPU: 8 PID: 73260 Comm: kworker/u98:0 Not tainted
5.13.0-rc6-fix2 #3
Hi sorry for the late reply, I've been to a conference.
This is already fixed in current btrfs misc-next, but not sure if the fix is
already in Linus' tree.
Which fix is that please?
On 11/10/2021 12:23, David Sterba wrote: On Mon, Oct 11, 2021 at 06:32:35AM +0000, Johannes Thumshirn wrote: quoted [ +Cc linux-btrfs ]
On 07/10/2021 14:18, Sven Oehme wrote: quoted Thu Oct 7 06:09:30 2021] ------------[ cut here ]------------
[Thu Oct 7 06:09:30 2021] BTRFS: Transaction aborted (error -22)
[Thu Oct 7 06:09:30 2021] WARNING: CPU: 8 PID: 73260 at fs/btrfs/ctree.c:491
__btrfs_cow_block+0x3d8/0x5a0 [btrfs]
[Thu Oct 7 06:09:30 2021] Modules linked in: vhost_vsock
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_conntrack
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user nft_counter rpcsec_gss_krb5 nfsv4 nfs
fscache netfs xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge stp
llc cuse overlay nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc
scsi_dh_alua intel_rapl_msr intel_rapl_common amd64_edac edac_mce_amd kvm_amd
kvm rapl efi_pstore ipmi_ssif joydev input_leds ftdi_sio usbserial ccp k10temp
acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler mac_hid sch_fq_codel nfsd
auth_rpcgss nfs_acl lockd grace msr sunrpc ip_tables x_tables autofs4 btrfs
blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear
ses enclosure hid_lenovo hid_generic usbhid hid ast drm_vram_helper
drm_ttm_helper ttm crct10dif_pclmul drm_kms_helper
[Thu Oct 7 06:09:30 2021] crc32_pclmul syscopyarea ghash_clmulni_intel
sysfillrect sysimgblt aesni_intel fb_sys_fops crypto_simd cec cryptd rc_core
nvme mpt3sas ahci drm ixgbe raid_class libahci igb smartpqi nvme_core xhci_pci
xfrm_algo scsi_transport_sas xhci_pci_renesas i2c_piix4 dca i2c_algo_bit mdio
[Thu Oct 7 06:09:30 2021] CPU: 8 PID: 73260 Comm: kworker/u98:0 Not tainted
5.13.0-rc6-fix2 #3
Hi sorry for the late reply, I've been to a conference.
This is already fixed in current btrfs misc-next, but not sure if the fix is
already in Linus' tree.
Which fix is that please?
The series from
c4153d4049f2 ("btrfs: introduce btrfs_is_data_reloc_root")
to
98e467cfa9c2 ("btrfs: zoned: let the for_treelog test in the allocator stand out")
As far as I can see they're only in btrfs-misc-next as of now.
But I think the series is a bit too big in terms of code change to go into
5.15 this late in the cycle.
On Mon, Oct 11, 2021 at 10:28:38AM +0000, Johannes Thumshirn wrote: On 11/10/2021 12:23, David Sterba wrote: quoted On Mon, Oct 11, 2021 at 06:32:35AM +0000, Johannes Thumshirn wrote: quoted [ +Cc linux-btrfs ]
On 07/10/2021 14:18, Sven Oehme wrote: quoted Thu Oct 7 06:09:30 2021] ------------[ cut here ]------------
[Thu Oct 7 06:09:30 2021] BTRFS: Transaction aborted (error -22)
[Thu Oct 7 06:09:30 2021] WARNING: CPU: 8 PID: 73260 at fs/btrfs/ctree.c:491
__btrfs_cow_block+0x3d8/0x5a0 [btrfs]
[Thu Oct 7 06:09:30 2021] Modules linked in: vhost_vsock
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_conntrack
nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 xfrm_user nft_counter rpcsec_gss_krb5 nfsv4 nfs
fscache netfs xt_addrtype nft_compat nf_tables nfnetlink br_netfilter bridge stp
llc cuse overlay nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc
scsi_dh_alua intel_rapl_msr intel_rapl_common amd64_edac edac_mce_amd kvm_amd
kvm rapl efi_pstore ipmi_ssif joydev input_leds ftdi_sio usbserial ccp k10temp
acpi_ipmi ipmi_si ipmi_devintf ipmi_msghandler mac_hid sch_fq_codel nfsd
auth_rpcgss nfs_acl lockd grace msr sunrpc ip_tables x_tables autofs4 btrfs
blake2b_generic zstd_compress raid10 raid456 async_raid6_recov async_memcpy
async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear
ses enclosure hid_lenovo hid_generic usbhid hid ast drm_vram_helper
drm_ttm_helper ttm crct10dif_pclmul drm_kms_helper
[Thu Oct 7 06:09:30 2021] crc32_pclmul syscopyarea ghash_clmulni_intel
sysfillrect sysimgblt aesni_intel fb_sys_fops crypto_simd cec cryptd rc_core
nvme mpt3sas ahci drm ixgbe raid_class libahci igb smartpqi nvme_core xhci_pci
xfrm_algo scsi_transport_sas xhci_pci_renesas i2c_piix4 dca i2c_algo_bit mdio
[Thu Oct 7 06:09:30 2021] CPU: 8 PID: 73260 Comm: kworker/u98:0 Not tainted
5.13.0-rc6-fix2 #3
Hi sorry for the late reply, I've been to a conference.
This is already fixed in current btrfs misc-next, but not sure if the fix is
already in Linus' tree.
Which fix is that please?
The series from
c4153d4049f2 ("btrfs: introduce btrfs_is_data_reloc_root")
to
98e467cfa9c2 ("btrfs: zoned: let the for_treelog test in the allocator stand out")
As far as I can see they're only in btrfs-misc-next as of now.
But I think the series is a bit too big in terms of code change to go into
5.15 this late in the cycle.
The changes are more or less contained under the zoned mode (allocator
or if (zoned)), but the whole patchset size is larger than I'd consider
appropriate for rc5 time. I'll read the report again and give it another
thought.