[Kernel-packages] [Bug 1810384] Re: 6113077cd319e747875ec71227d2b5cb54e08c76 in btrfs_kernel_fixes failed on B/C/D

2024-07-30 Thread Brian Murray
Ubuntu 18.10 (Cosmic Cuttlefish) has reached end of life, so this bug
will not be fixed for that specific release.

** Changed in: linux (Ubuntu Cosmic)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1810384

Title:
  6113077cd319e747875ec71227d2b5cb54e08c76  in btrfs_kernel_fixes failed
  on B/C/D

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  New
Status in linux source package in Cosmic:
  Won't Fix
Status in linux source package in Disco:
  Won't Fix

Bug description:
  Test failed with disk quota exceeded when trying to create subvolume,
  and error traces could be found in the kernel log.

  This patch exists in the Bionic kernel tree:
  
https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/commit/?id=6113077cd319e747875ec71227d2b5cb54e08c76

  Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76

  fix 6113077cd319e747875ec71227d2b5cb54e08c76

  Btrfs: fix missing qgroup reservation before fallocating

  Steps to reproduce:
  mkfs.btrfs 
  mount  
  btrfs quota enable 
  btrfs sub create /subv
  btrfs qgroup limit 10M /subv
  fallocate --length 20M /subv/data

  For the above example, fallocating will return successfully which
  is not expected, we try to fix it by doing qgroup reservation before
  fallocating.

  Create subvolume '/tmp/mnt-6113077cd319e747875ec71227d2b5cb54e08c76/subv'
  fallocate: fallocate failed: Disk quota exceeded

  Found kernel issue:

  [  829.940603] Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76
  [  830.001738] BTRFS: device fsid 134f6701-7984-42bc-affc-e423f4e6c750 devid 
1 transid 5 /dev/loop0
  [  830.005573] BTRFS info (device loop0): disk space caching is enabled
  [  830.005574] BTRFS info (device loop0): has skinny extents
  [  830.005575] BTRFS info (device loop0): flagging fs with big metadata 
feature
  [  830.006375] BTRFS info (device loop0): creating UUID tree
  [  830.038054] BTRFS info (device loop0): qgroup scan completed 
(inconsistency flag cleared)
  [  830.042133] WARNING: CPU: 1 PID: 15933 at 
/build/linux-oem-RkS9Vy/linux-oem-4.15.0/fs/btrfs/extent-tree.c:4433 
btrfs_free_reserved_data_space_noquota+0xcb/0xe0 [btrfs]
  [  830.042133] Modules linked in: btrfs zstd_compress intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass ppdev 
input_leds intel_cstate joydev intel_rapl_perf intel_pch_thermal parport_pc 
ipmi_si parport lpc_ich mac_hid ipmi_devintf ipmi_msghandler sch_fq_codel 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear i915 mgag200 crct10dif_pclmul 
crc32_pclmul ttm ghash_clmulni_intel pcbc igb drm_kms_helper hid_generic 
aesni_intel dca syscopyarea i2c_algo_bit sysfillrect aes_x86_64 sysimgblt 
fb_sys_fops crypto_simd ptp ahci usbhid glue_helper cryptd drm libahci hid 
pps_core video [last unloaded: zstd_compress]
  [  830.042166] CPU: 1 PID: 15933 Comm: fallocate Not tainted 4.15.0-1030-oem 
#35-Ubuntu
  [  830.042167] Hardware name: Intel Corporation S1200RP/S1200RP, BIOS 
S1200RP.86B.03.02.0003.070120151022 07/01/2015
  [  830.042176] RIP: 0010:btrfs_free_reserved_data_space_noquota+0xcb/0xe0 
[btrfs]
  [  830.042177] RSP: 0018:aa474a647d88 EFLAGS: 00010287
  [  830.042178] RAX:  RBX: 0140 RCX: 
0140
  [  830.042178] RDX: 0001 RSI:  RDI: 
8febd2814200
  [  830.042179] RBP: aa474a647db0 R08: 00027fc0 R09: 
c0877688
  [  830.042180] R10: 8feb877f R11: 0001 R12: 
8febd2814200
  [  830.042180] R13: 8feb877f R14: 8feb1ff25f40 R15: 
0140
  [  830.042181] FS:  7f7b7a10c540() GS:8febe084() 
knlGS:
  [  830.042182] CS:  0010 DS:  ES:  CR0: 80050033
  [  830.042183] CR2: 7f7b79f4baa0 CR3: 00045a996004 CR4: 
003606e0
  [  830.042184] DR0:  DR1:  DR2: 

  [  830.042184] DR3:  DR6: fffe0ff0 DR7: 
0400
  [  830.042185] Call Trace:
  [  830.042194]  btrfs_free_reserved_data_space+0x50/0x70 [btrfs]
  [  830.042205]  btrfs_fallocate+0x3f8/0x750 [btrfs]
  [  830.042208]  vfs_fallocate+0x144/0x260
  [  830.042209]  SyS_fallocate+0x48/0x80
  [  830.042211]  do_syscall_64+0x73/0x130
  [  830.042214]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [  830.042215] RIP: 0033:0x7f7b79c13857
  [  830.042215] RSP: 002b:7ffc1ad01498 EFLAGS: 0246 ORIG_RAX: 
011d
  [  830.042216] RAX: ffda RBX:  RCX: 

[Kernel-packages] [Bug 1810384] Re: 6113077cd319e747875ec71227d2b5cb54e08c76 in btrfs_kernel_fixes failed on B/C/D

2020-07-02 Thread Steve Langasek
** Changed in: linux (Ubuntu Disco)
   Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1810384

Title:
  6113077cd319e747875ec71227d2b5cb54e08c76  in btrfs_kernel_fixes failed
  on B/C/D

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  New
Status in linux source package in Cosmic:
  New
Status in linux source package in Disco:
  Won't Fix

Bug description:
  Test failed with disk quota exceeded when trying to create subvolume,
  and error traces could be found in the kernel log.

  This patch exists in the Bionic kernel tree:
  
https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/commit/?id=6113077cd319e747875ec71227d2b5cb54e08c76

  Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76

  fix 6113077cd319e747875ec71227d2b5cb54e08c76

  Btrfs: fix missing qgroup reservation before fallocating

  Steps to reproduce:
  mkfs.btrfs 
  mount  
  btrfs quota enable 
  btrfs sub create /subv
  btrfs qgroup limit 10M /subv
  fallocate --length 20M /subv/data

  For the above example, fallocating will return successfully which
  is not expected, we try to fix it by doing qgroup reservation before
  fallocating.

  Create subvolume '/tmp/mnt-6113077cd319e747875ec71227d2b5cb54e08c76/subv'
  fallocate: fallocate failed: Disk quota exceeded

  Found kernel issue:

  [  829.940603] Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76
  [  830.001738] BTRFS: device fsid 134f6701-7984-42bc-affc-e423f4e6c750 devid 
1 transid 5 /dev/loop0
  [  830.005573] BTRFS info (device loop0): disk space caching is enabled
  [  830.005574] BTRFS info (device loop0): has skinny extents
  [  830.005575] BTRFS info (device loop0): flagging fs with big metadata 
feature
  [  830.006375] BTRFS info (device loop0): creating UUID tree
  [  830.038054] BTRFS info (device loop0): qgroup scan completed 
(inconsistency flag cleared)
  [  830.042133] WARNING: CPU: 1 PID: 15933 at 
/build/linux-oem-RkS9Vy/linux-oem-4.15.0/fs/btrfs/extent-tree.c:4433 
btrfs_free_reserved_data_space_noquota+0xcb/0xe0 [btrfs]
  [  830.042133] Modules linked in: btrfs zstd_compress intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass ppdev 
input_leds intel_cstate joydev intel_rapl_perf intel_pch_thermal parport_pc 
ipmi_si parport lpc_ich mac_hid ipmi_devintf ipmi_msghandler sch_fq_codel 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear i915 mgag200 crct10dif_pclmul 
crc32_pclmul ttm ghash_clmulni_intel pcbc igb drm_kms_helper hid_generic 
aesni_intel dca syscopyarea i2c_algo_bit sysfillrect aes_x86_64 sysimgblt 
fb_sys_fops crypto_simd ptp ahci usbhid glue_helper cryptd drm libahci hid 
pps_core video [last unloaded: zstd_compress]
  [  830.042166] CPU: 1 PID: 15933 Comm: fallocate Not tainted 4.15.0-1030-oem 
#35-Ubuntu
  [  830.042167] Hardware name: Intel Corporation S1200RP/S1200RP, BIOS 
S1200RP.86B.03.02.0003.070120151022 07/01/2015
  [  830.042176] RIP: 0010:btrfs_free_reserved_data_space_noquota+0xcb/0xe0 
[btrfs]
  [  830.042177] RSP: 0018:aa474a647d88 EFLAGS: 00010287
  [  830.042178] RAX:  RBX: 0140 RCX: 
0140
  [  830.042178] RDX: 0001 RSI:  RDI: 
8febd2814200
  [  830.042179] RBP: aa474a647db0 R08: 00027fc0 R09: 
c0877688
  [  830.042180] R10: 8feb877f R11: 0001 R12: 
8febd2814200
  [  830.042180] R13: 8feb877f R14: 8feb1ff25f40 R15: 
0140
  [  830.042181] FS:  7f7b7a10c540() GS:8febe084() 
knlGS:
  [  830.042182] CS:  0010 DS:  ES:  CR0: 80050033
  [  830.042183] CR2: 7f7b79f4baa0 CR3: 00045a996004 CR4: 
003606e0
  [  830.042184] DR0:  DR1:  DR2: 

  [  830.042184] DR3:  DR6: fffe0ff0 DR7: 
0400
  [  830.042185] Call Trace:
  [  830.042194]  btrfs_free_reserved_data_space+0x50/0x70 [btrfs]
  [  830.042205]  btrfs_fallocate+0x3f8/0x750 [btrfs]
  [  830.042208]  vfs_fallocate+0x144/0x260
  [  830.042209]  SyS_fallocate+0x48/0x80
  [  830.042211]  do_syscall_64+0x73/0x130
  [  830.042214]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [  830.042215] RIP: 0033:0x7f7b79c13857
  [  830.042215] RSP: 002b:7ffc1ad01498 EFLAGS: 0246 ORIG_RAX: 
011d
  [  830.042216] RAX: ffda RBX:  RCX: 
7f7b79c13857
  [  830.042217] RDX:  RSI:  RDI: 
0008
  [  830.042217] RBP

[Kernel-packages] [Bug 1810384] Re: 6113077cd319e747875ec71227d2b5cb54e08c76 in btrfs_kernel_fixes failed on B/C/D

2019-07-24 Thread Brad Figg
** Tags added: cscc

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1810384

Title:
  6113077cd319e747875ec71227d2b5cb54e08c76  in btrfs_kernel_fixes failed
  on B/C/D

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  New
Status in linux source package in Cosmic:
  New
Status in linux source package in Disco:
  Confirmed

Bug description:
  Test failed with disk quota exceeded when trying to create subvolume,
  and error traces could be found in the kernel log.

  This patch exists in the Bionic kernel tree:
  
https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/commit/?id=6113077cd319e747875ec71227d2b5cb54e08c76

  Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76

  fix 6113077cd319e747875ec71227d2b5cb54e08c76

  Btrfs: fix missing qgroup reservation before fallocating

  Steps to reproduce:
  mkfs.btrfs 
  mount  
  btrfs quota enable 
  btrfs sub create /subv
  btrfs qgroup limit 10M /subv
  fallocate --length 20M /subv/data

  For the above example, fallocating will return successfully which
  is not expected, we try to fix it by doing qgroup reservation before
  fallocating.

  Create subvolume '/tmp/mnt-6113077cd319e747875ec71227d2b5cb54e08c76/subv'
  fallocate: fallocate failed: Disk quota exceeded

  Found kernel issue:

  [  829.940603] Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76
  [  830.001738] BTRFS: device fsid 134f6701-7984-42bc-affc-e423f4e6c750 devid 
1 transid 5 /dev/loop0
  [  830.005573] BTRFS info (device loop0): disk space caching is enabled
  [  830.005574] BTRFS info (device loop0): has skinny extents
  [  830.005575] BTRFS info (device loop0): flagging fs with big metadata 
feature
  [  830.006375] BTRFS info (device loop0): creating UUID tree
  [  830.038054] BTRFS info (device loop0): qgroup scan completed 
(inconsistency flag cleared)
  [  830.042133] WARNING: CPU: 1 PID: 15933 at 
/build/linux-oem-RkS9Vy/linux-oem-4.15.0/fs/btrfs/extent-tree.c:4433 
btrfs_free_reserved_data_space_noquota+0xcb/0xe0 [btrfs]
  [  830.042133] Modules linked in: btrfs zstd_compress intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass ppdev 
input_leds intel_cstate joydev intel_rapl_perf intel_pch_thermal parport_pc 
ipmi_si parport lpc_ich mac_hid ipmi_devintf ipmi_msghandler sch_fq_codel 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear i915 mgag200 crct10dif_pclmul 
crc32_pclmul ttm ghash_clmulni_intel pcbc igb drm_kms_helper hid_generic 
aesni_intel dca syscopyarea i2c_algo_bit sysfillrect aes_x86_64 sysimgblt 
fb_sys_fops crypto_simd ptp ahci usbhid glue_helper cryptd drm libahci hid 
pps_core video [last unloaded: zstd_compress]
  [  830.042166] CPU: 1 PID: 15933 Comm: fallocate Not tainted 4.15.0-1030-oem 
#35-Ubuntu
  [  830.042167] Hardware name: Intel Corporation S1200RP/S1200RP, BIOS 
S1200RP.86B.03.02.0003.070120151022 07/01/2015
  [  830.042176] RIP: 0010:btrfs_free_reserved_data_space_noquota+0xcb/0xe0 
[btrfs]
  [  830.042177] RSP: 0018:aa474a647d88 EFLAGS: 00010287
  [  830.042178] RAX:  RBX: 0140 RCX: 
0140
  [  830.042178] RDX: 0001 RSI:  RDI: 
8febd2814200
  [  830.042179] RBP: aa474a647db0 R08: 00027fc0 R09: 
c0877688
  [  830.042180] R10: 8feb877f R11: 0001 R12: 
8febd2814200
  [  830.042180] R13: 8feb877f R14: 8feb1ff25f40 R15: 
0140
  [  830.042181] FS:  7f7b7a10c540() GS:8febe084() 
knlGS:
  [  830.042182] CS:  0010 DS:  ES:  CR0: 80050033
  [  830.042183] CR2: 7f7b79f4baa0 CR3: 00045a996004 CR4: 
003606e0
  [  830.042184] DR0:  DR1:  DR2: 

  [  830.042184] DR3:  DR6: fffe0ff0 DR7: 
0400
  [  830.042185] Call Trace:
  [  830.042194]  btrfs_free_reserved_data_space+0x50/0x70 [btrfs]
  [  830.042205]  btrfs_fallocate+0x3f8/0x750 [btrfs]
  [  830.042208]  vfs_fallocate+0x144/0x260
  [  830.042209]  SyS_fallocate+0x48/0x80
  [  830.042211]  do_syscall_64+0x73/0x130
  [  830.042214]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
  [  830.042215] RIP: 0033:0x7f7b79c13857
  [  830.042215] RSP: 002b:7ffc1ad01498 EFLAGS: 0246 ORIG_RAX: 
011d
  [  830.042216] RAX: ffda RBX:  RCX: 
7f7b79c13857
  [  830.042217] RDX:  RSI:  RDI: 
0008
  [  830.042217] RBP: 0004 R08:  R09: 
000

[Kernel-packages] [Bug 1810384] Re: 6113077cd319e747875ec71227d2b5cb54e08c76 in btrfs_kernel_fixes failed on B/C/D

2019-03-28 Thread Po-Hsu Lin
Test disabled in A-C-T
https://kernel.ubuntu.com/git/ubuntu/autotest-client-tests.git/commit/?id=3e497633108cf62f91587d4e0b4804f7248d

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: linux (Ubuntu Disco)
   Importance: Undecided
   Status: Confirmed

** Also affects: linux (Ubuntu Cosmic)
   Importance: Undecided
   Status: New

** Changed in: ubuntu-kernel-tests
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1810384

Title:
  6113077cd319e747875ec71227d2b5cb54e08c76  in btrfs_kernel_fixes failed
  on B/C/D

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Bionic:
  New
Status in linux source package in Cosmic:
  New
Status in linux source package in Disco:
  Confirmed

Bug description:
  Test failed with disk quota exceeded when trying to create subvolume,
  and error traces could be found in the kernel log.

  This patch exists in the Bionic kernel tree:
  
https://kernel.ubuntu.com/git/ubuntu/ubuntu-bionic.git/commit/?id=6113077cd319e747875ec71227d2b5cb54e08c76

  Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76

  fix 6113077cd319e747875ec71227d2b5cb54e08c76

  Btrfs: fix missing qgroup reservation before fallocating

  Steps to reproduce:
  mkfs.btrfs 
  mount  
  btrfs quota enable 
  btrfs sub create /subv
  btrfs qgroup limit 10M /subv
  fallocate --length 20M /subv/data

  For the above example, fallocating will return successfully which
  is not expected, we try to fix it by doing qgroup reservation before
  fallocating.

  Create subvolume '/tmp/mnt-6113077cd319e747875ec71227d2b5cb54e08c76/subv'
  fallocate: fallocate failed: Disk quota exceeded

  Found kernel issue:

  [  829.940603] Invoking test 6113077cd319e747875ec71227d2b5cb54e08c76
  [  830.001738] BTRFS: device fsid 134f6701-7984-42bc-affc-e423f4e6c750 devid 
1 transid 5 /dev/loop0
  [  830.005573] BTRFS info (device loop0): disk space caching is enabled
  [  830.005574] BTRFS info (device loop0): has skinny extents
  [  830.005575] BTRFS info (device loop0): flagging fs with big metadata 
feature
  [  830.006375] BTRFS info (device loop0): creating UUID tree
  [  830.038054] BTRFS info (device loop0): qgroup scan completed 
(inconsistency flag cleared)
  [  830.042133] WARNING: CPU: 1 PID: 15933 at 
/build/linux-oem-RkS9Vy/linux-oem-4.15.0/fs/btrfs/extent-tree.c:4433 
btrfs_free_reserved_data_space_noquota+0xcb/0xe0 [btrfs]
  [  830.042133] Modules linked in: btrfs zstd_compress intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass ppdev 
input_leds intel_cstate joydev intel_rapl_perf intel_pch_thermal parport_pc 
ipmi_si parport lpc_ich mac_hid ipmi_devintf ipmi_msghandler sch_fq_codel 
ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi 
scsi_transport_iscsi ip_tables x_tables autofs4 raid10 raid456 
async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq 
libcrc32c raid1 raid0 multipath linear i915 mgag200 crct10dif_pclmul 
crc32_pclmul ttm ghash_clmulni_intel pcbc igb drm_kms_helper hid_generic 
aesni_intel dca syscopyarea i2c_algo_bit sysfillrect aes_x86_64 sysimgblt 
fb_sys_fops crypto_simd ptp ahci usbhid glue_helper cryptd drm libahci hid 
pps_core video [last unloaded: zstd_compress]
  [  830.042166] CPU: 1 PID: 15933 Comm: fallocate Not tainted 4.15.0-1030-oem 
#35-Ubuntu
  [  830.042167] Hardware name: Intel Corporation S1200RP/S1200RP, BIOS 
S1200RP.86B.03.02.0003.070120151022 07/01/2015
  [  830.042176] RIP: 0010:btrfs_free_reserved_data_space_noquota+0xcb/0xe0 
[btrfs]
  [  830.042177] RSP: 0018:aa474a647d88 EFLAGS: 00010287
  [  830.042178] RAX:  RBX: 0140 RCX: 
0140
  [  830.042178] RDX: 0001 RSI:  RDI: 
8febd2814200
  [  830.042179] RBP: aa474a647db0 R08: 00027fc0 R09: 
c0877688
  [  830.042180] R10: 8feb877f R11: 0001 R12: 
8febd2814200
  [  830.042180] R13: 8feb877f R14: 8feb1ff25f40 R15: 
0140
  [  830.042181] FS:  7f7b7a10c540() GS:8febe084() 
knlGS:
  [  830.042182] CS:  0010 DS:  ES:  CR0: 80050033
  [  830.042183] CR2: 7f7b79f4baa0 CR3: 00045a996004 CR4: 
003606e0
  [  830.042184] DR0:  DR1:  DR2: 

  [  830.042184] DR3:  DR6: fffe0ff0 DR7: 
0400
  [  830.042185] Call Trace:
  [  830.042194]  btrfs_free_reserved_data_space+0x50/0x70 [btrfs]
  [  830.042205]  btrfs_fallocate+0x3f8/0x750 [btrfs]
  [  830.042208]  vfs_fallocate+0x144/0x260
  [  830.042209]  SyS_fallocate+0x48/0x80
  [  830.042211]  do_syscall_