Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dirent to missing inode - inconsistency detected - emergency read only #727

Open
jullanggit opened this issue Aug 17, 2024 · 4 comments
Open

Comments

@jullanggit
Copy link

System

I am running arch linux with a slightly customized kernel (mostly just disabling stuff i dont need) (the specific commit is 296c871)

Problem

I can boot fine but shortly after booting i get the following errors and the system goes into read-only (info from dmesg) (there are actually a lot more of the same error, I omitted them for the sake of readability):

[  657.045911] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:6067802914911483993:4294967280 len 0 ver 0: 1073743811 -> 1073743811 type reg
[  657.045919] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): inconsistency detected - emergency read only at journal seq 208824
[  657.045925] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:6067802914911483993:4294967280 len 0 ver 0: 1073743811 -> 1073743811 type reg
[  657.045930] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:6681314219922039005:4294967280 len 0 ver 0: 1073814780 -> 1073814780 type reg
[  657.045934] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
[  657.046048] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:3100106290061897860:4294967280 len 0 ver 0: 134235185 -> 134235185 type reg
[  657.046052] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:7207900295207407068:4294967280 len 0 ver 0: 134235193 -> 134235193 type dir
[  657.046056] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:7207900295207407068:4294967280 len 0 ver 0: 134235193 -> 134235193 type dir
[  657.046060] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:1892774853651445580:4294967280 len 0 ver 0: 134235194 -> 134235194 type reg
[  657.046063] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:1892774853651445580:4294967280 len 0 ver 0: 134235194 -> 134235194 type reg
[  657.046201] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:849771794803996383:4294967195 len 0 ver 0: 671255375 -> 671255375 type reg
[  657.046206] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:2845016153378911275:4294967280 len 0 ver 0: 805308368 -> 805308368 type dir
[  657.046210] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:2845016153378911275:4294967280 len 0 ver 0: 805308368 -> 805308368 type dir
[  657.046215] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:8299167345108250796:4294967259 len 0 ver 0: 805330076 -> 805330076 type reg
[  657.046218] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:969501145984033717:4294967259 len 0 ver 0: 939551251 -> 939551251 type reg
[  657.046485] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:7705334472591263609:4294967259 len 0 ver 0: 939551256 -> 939551256 type dir
[  657.046489] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): dirent to missing inode:
                 u64s 8 type dirent 318536:7705334472591263609:4294967259 len 0 ver 0: 939551256 -> 939551256 type dir
[  657.070809] bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): unshutdown complete, journal seq 208824 

When I run fsck -y the errors come up and it seems as tough they are fixed afterwards (they dont come up when i run it again), but when I reboot the same issue comes up again. Here is the first fsck (again, some errors are omitted):

Running fsck online
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_alloc_info... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_lrus... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_btree_backpointers... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_backpointers_to_extents... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_extents_to_backpointers... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_alloc_to_lru_refs... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_snapshot_trees... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_snapshots... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_subvols... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_subvol_children... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): delete_dead_snapshots... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_root... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_subvolume_structure... done
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): check_directory_structure...unreachable inode
u64s 16 type inode_v3 0:309990:4294967139 len 0 ver 0:
  mode=100600
  flags=(6300000)
  journal_seq=206159
  bi_size=64
  bi_sectors=8
  bi_version=0
  bi_atime=777884246536646
  bi_ctime=821937982777955
  bi_mtime=821937982777955
  bi_otime=777884246536646
  bi_uid=1000
  bi_gid=1000
  bi_nlink=0
  bi_generation=0
  bi_dev=0
  bi_data_checksum=0
  bi_compression=0
  bi_project=0
  bi_background_compression=0
  bi_data_replicas=0
  bi_promote_target=0
  bi_foreground_target=0
  bi_background_target=0
  bi_erasure_code=0
  bi_fields_set=0
  bi_dir=0
  bi_dir_offset=0
  bi_subvol=0
  bi_parent_subvol=0
  bi_nocow=0, fix? (y,n, or Y,N for all errors of this type) Y
unreachable inode
u64s 16 type inode_v3 0:316031:4294967147 len 0 ver 0:
  mode=100644
  flags=(6300000)
  journal_seq=203434
  bi_size=36318
  bi_sectors=72
  bi_version=0
  bi_atime=779156186024600
  bi_ctime=779163056082597
  bi_mtime=779156186024600
  bi_otime=779156186024600
  bi_uid=1000
  bi_gid=1000
  bi_nlink=0
  bi_generation=0
  bi_dev=0
  bi_data_checksum=0
  bi_compression=0
  bi_project=0
  bi_background_compression=0
  bi_data_replicas=0
  bi_promote_target=0
  bi_foreground_target=0
  bi_background_target=0
  bi_erasure_code=0
  bi_fields_set=0
  bi_dir=0
  bi_dir_offset=0
  bi_subvol=0
  bi_parent_subvol=0
  bi_nocow=0, fixing
u64s 20 type inode_v3 0:318536:U32_MAX len 0 ver 0:
  mode=40700
  flags=(15300000)
  journal_seq=203426
  bi_size=0
  bi_sectors=0
  bi_version=0
  bi_atime=821525055665749
  bi_ctime=821525055665749
  bi_mtime=821525055665749
  bi_otime=821525055665749
  bi_uid=0
  bi_gid=0
  bi_nlink=1
  bi_generation=0
  bi_dev=0
  bi_data_checksum=0
  bi_compression=0
  bi_project=0
  bi_background_compression=0
  bi_data_replicas=0
  bi_promote_target=0
  bi_foreground_target=0
  bi_background_target=0
  bi_erasure_code=0
  bi_fields_set=0
  bi_dir=1073741824
  bi_dir_offset=4659934669128015163
  bi_subvol=0
  bi_parent_subvol=0
  bi_nocow=0, fixing
unreachable inode
u64s 16 type inode_v3 0:134466081:4294967153 len 0 ver 0:
  mode=100644
  flags=(6300000)
  journal_seq=203434
  bi_size=36267
  bi_sectors=72
  bi_version=0
  bi_atime=777657750413138
  bi_ctime=777764823342563
  bi_mtime=777657750413138
  bi_otime=777657750413138
  bi_uid=1000
  bi_gid=1000
  bi_nlink=0
  bi_generation=0
  bi_dev=0
  bi_data_checksum=0
  bi_compression=0
  bi_project=0
  bi_background_compression=0
  bi_data_replicas=0
  bi_promote_target=0
  bi_foreground_target=0
  bi_background_target=0
  bi_erasure_code=0
  bi_fields_set=0
  bi_dir=0
  bi_dir_offset=0
  bi_subvol=0
  bi_parent_subvol=0
  bi_nocow=0, fixing
unreachable inode
u64s 16 type inode_v3 0:537275946:4294967147 len 0 ver 0:
  mode=100600
  flags=(6300000)
  journal_seq=203434
  bi_size=64
  bi_sectors=8
  bi_version=0
  bi_atime=766701381092873
  bi_ctime=777884249869685
  bi_mtime=777884249869685
  bi_otime=766701381092873
  bi_uid=1000
  bi_gid=1000
  bi_nlink=0
  bi_generation=0
  bi_dev=0
  bi_data_checksum=0
  bi_compression=0
  bi_project=0
  bi_background_compression=0
  bi_data_replicas=0
  bi_promote_target=0
  bi_foreground_target=0
  bi_background_target=0
  bi_erasure_code=0
  bi_fields_set=0
  bi_dir=0
  bi_dir_offset=0
  bi_subvol=0
  bi_parent_subvol=0
  bi_nocow=0, fixing
bcachefs (f7e26cb2-17d9-4935-a801-64ab154cdfab): Ratelimiting new instances of previous error
 done

Device configuration

I have an ssd and an hdd, with the ssd being the foreground and promote target and the hdd being the background target. I have background compression enabled. Heres the show-super output:

Device:                                     (unknown device)
External UUID:                             f7e26cb2-17d9-4935-a801-64ab154cdfab
Internal UUID:                             de894678-a82d-42e6-b80c-03cdda6368c6
Magic number:                              c68573f6-66ce-90a9-d96a-60cf803df7ef
Device index:                              1
Label:                                     arch
Version:                                   1.10: disk_accounting_v3
Version upgrade complete:                  1.10: disk_accounting_v3
Oldest version on disk:                    1.7: mi_btree_bitmap
Created:                                   Wed Aug  7 21:26:20 2024
Sequence number:                           111
Time of last write:                        Sat Aug 17 11:05:28 2024
Superblock size:                           5.01 KiB/1.00 MiB
Clean:                                     0
Devices:                                   2
Sections:                                  members_v1,crypt,replicas_v0,disk_groups,clean,journal_seq_blacklist,journal_v2,counters,members_v2,errors,ext,downgrade
Features:                                  lz4,zstd,journal_seq_blacklist_v3,reflink,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,extents_above_btree_updates,btree_updates_journalled,reflink_inline_data,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes
Compat features:                           alloc_info,alloc_metadata,extents_above_btree_updates_done,bformat_overflow_done

Options:
  block_size:                              4.00 KiB
  btree_node_size:                         256 KiB
  errors:                                  continue [fix_safe] panic ro
  metadata_replicas:                       2
  data_replicas:                           1
  metadata_replicas_required:              1
  data_replicas_required:                  1
  encoded_extent_max:                      64.0 KiB
  metadata_checksum:                       none [crc32c] crc64 xxhash
  data_checksum:                           none [crc32c] crc64 xxhash
  compression:                             lz4
  background_compression:                  zstd:15
  str_hash:                                crc32c crc64 [siphash]
  metadata_target:                         none
  foreground_target:                       ssd
  background_target:                       hdd
  promote_target:                          ssd
  erasure_code:                            0
  inodes_32bit:                            0
  shard_inode_numbers:                     1
  inodes_use_key_cache:                    1
  gc_reserve_percent:                      8
  gc_reserve_bytes:                        0 B
  root_reserve_percent:                    0
  wide_macs:                               0
  promote_whole_extents:                   0
  acl:                                     1
  usrquota:                                0
  grpquota:                                0
  prjquota:                                0
  journal_flush_delay:                     1000
  journal_flush_disabled:                  1
  journal_reclaim_delay:                   100
  journal_transaction_names:               1
  allocator_stuck_timeout:                 30
  version_upgrade:                         [compatible] incompatible none
  nocow:                                   0

members_v2 (size 304):
Device:                                    0
  Label:                                   1 (1)
  UUID:                                    03f11083-1933-42fd-ab06-b37d05776c67
  Size:                                    622 GiB
  read errors:                             0
  write errors:                            0
  checksum errors:                         0
  seqread iops:                            0
  seqwrite iops:                           0
  randread iops:                           0
  randwrite iops:                          0
  Bucket size:                             256 KiB
  First bucket:                            0
  Buckets:                                 2546632
  Last mount:                              Sat Aug 17 11:05:16 2024
  Last superblock write:                   111
  State:                                   rw
  Data allowed:                            journal,btree,user
  Has data:                                journal,btree,user
  Btree allocated bitmap blocksize:        2.00 MiB
  Btree allocated bitmap:                  0000000000001111000000000000000000000000000000000000000000000000
  Durability:                              1
  Discard:                                 0
  Freespace initialized:                   1
Device:                                    1
  Label:                                   1 (3)
  UUID:                                    3954b7c3-e050-41ef-a442-cf2e33568004
  Size:                                    93.1 GiB
  read errors:                             0
  write errors:                            0
  checksum errors:                         0
  seqread iops:                            0
  seqwrite iops:                           0
  randread iops:                           0
  randwrite iops:                          0
  Bucket size:                             256 KiB
  First bucket:                            0
  Buckets:                                 381468
  Last mount:                              Sat Aug 17 11:05:16 2024
  Last superblock write:                   111
  State:                                   rw
  Data allowed:                            journal,btree,user
  Has data:                                journal,btree,user,cached
  Btree allocated bitmap blocksize:        2.00 MiB
  Btree allocated bitmap:                  0000001000000000001100000000000000001100000010000000000000000111
  Durability:                              1
  Discard:                                 1
  Freespace initialized:                   1

errors (size 120):
journal_entry_replicas_not_marked           1               Sat Aug 17 09:36:20 2024
inode_wrong_nlink                           1               Sat Aug 17 09:38:30 2024
inode_unreachable                           441             Sat Aug 17 09:38:28 2024
extent_past_end_of_inode                    1               Sat Aug 17 09:38:04 2024
unlinked_inode_not_on_deleted_list          12              Sat Aug 17 09:38:03 2024
accounting_mismatch                         3               Sat Aug 17 09:37:19 2024
accounting_replicas_not_marked              1               Sat Aug 17 09:37:01 2024
@koverstreet
Copy link
Owner

to debug this, immediately after it occurs you'll want to search through the journal with a command like

bcachefs list_journal -t inodes:0:<inode_nr> -t dirents:

We need to find the last transaction that either deleted the inode or updated the dirent

@jullanggit
Copy link
Author

jullanggit commented Aug 18, 2024

Thank you for the quick help, I couldnt get it to output anything without the -a flag, I hope its still usefull:

sudo bcachefs list_journal -at inodes:0:939563958 -t dirents:318536:4303058608615172108:4294967259 /dev/disk/by-label/arch

Enter passphrase:
starting version 1.10: disk_accounting_v3 opts=ro,errors=continue,metadata_replicas=2,compression=lz4,background_compression=zstd:15,foreground_target=ssd,background_target=hdd,promote_target=ssd,noinodes_32bit,nopromote_whole_extents,degraded,very_degraded,journal_flush_disabled,fix_errors=yes,nochanges,norecovery,noexcl,read_only
recovering from unclean shutdown
journal read done, replaying entries 210016-211604
dropped unflushed entries 211605-211607
    log: blacklisting entries 203381-203389
    log: starting journal at entry 203389, replaying 203206-203380
    btree_keys:
    btree_root: btree=extents l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq b66f11177244f461 written 32 min_key POS_MIN durability: 2 ptr: 1:8160:0 gen 3 ptr: 0:204380:0 gen 0
    btree_root: btree=inodes l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f292b9adc7a95846 written 48 min_key POS_MIN durability: 2 ptr: 1:79060:0 gen 2 ptr: 0:207317:0 gen 0
    btree_root: btree=dirents l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e35beb91d1d5231 written 224 min_key POS_MIN durability: 2 ptr: 1:108907:0 gen 8 ptr: 0:207906:0 gen 0
    btree_root: btree=xattrs l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f57f9bbc5e69c589 written 24 min_key POS_MIN durability: 2 ptr: 1:108908:0 gen 9 ptr: 0:207907:0 gen 0
    btree_root: btree=alloc l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq bea06d97d77758ad written 88 min_key POS_MIN durability: 2 ptr: 1:3262:0 gen 3 ptr: 0:209094:0 gen 0
    btree_root: btree=reflink l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 673800752618832a written 48 min_key POS_MIN durability: 2 ptr: 1:109349:0 gen 3 ptr: 0:208290:0 gen 0
    btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 27daa4a190da058b written 16 min_key POS_MIN durability: 2 ptr: 1:109354:0 gen 5 ptr: 0:208291:0 gen 0
    btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a5a1ad3a94466565 written 24 min_key POS_MIN durability: 2 ptr: 1:109355:0 gen 4 ptr: 0:208292:0 gen 0
    btree_root: btree=lru l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ed9082ccdc8fd06b written 32 min_key POS_MIN durability: 2 ptr: 1:109415:0 gen 3 ptr: 0:208336:0 gen 0
    btree_root: btree=freespace l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 99c3cb7e4a0f0ef8 written 496 min_key POS_MIN durability: 2 ptr: 1:4095:0 gen 5 ptr: 0:200134:0 gen 0
    btree_root: btree=need_discard l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 378419a5209721dc written 56 min_key POS_MIN durability: 2 ptr: 1:109419:0 gen 4 ptr: 0:208338:0 gen 0
    btree_root: btree=backpointers l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e696fb7109f07337 written 328 min_key POS_MIN durability: 2 ptr: 1:110271:0 gen 2 ptr: 0:209006:0 gen 0
    btree_root: btree=bucket_gens l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 53994e8e9027d0cc written 48 min_key POS_MIN durability: 2 ptr: 1:110346:0 gen 1 ptr: 0:209064:0 gen 0
    btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7f92ff060d8000ab written 8 min_key POS_MIN durability: 2 ptr: 1:110347:0 gen 15 ptr: 0:209065:0 gen 0
    btree_root: btree=deleted_inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a0027093b9e3cefc written 16 min_key POS_MIN durability: 2 ptr: 1:110348:0 gen 4 ptr: 0:209066:0 gen 0
    btree_root: btree=logged_ops l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 45f82c0613666b55 written 24 min_key POS_MIN durability: 2 ptr: 1:110349:0 gen 1 ptr: 0:209067:0 gen 0
    btree_root: btree=rebalance_work l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9b9c6f099865e69e written 32 min_key POS_MIN durability: 2 ptr: 1:110377:0 gen 3 ptr: 0:209089:0 gen 0
    btree_root: btree=subvolume_children l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq fc9e73f1573d0740 written 8 min_key POS_MIN durability: 2 ptr: 1:110379:0 gen 14 ptr: 0:209090:0 gen 0
    btree_root: btree=accounting l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ba7a8a00a10fcd75 written 56 min_key POS_MIN durability: 2 ptr: 1:110380:0 gen 3 ptr: 0:209091:0 gen 0
    datetime: Sat Aug 17 09:37:49 2024
    usage: type=key_version v=7383930
    clock: read=310885160
    clock: write=836117304
    btree_keys:
    btree_root: btree=extents l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq b66f11177244f461 written 32 min_key POS_MIN durability: 2 ptr: 1:8160:0 gen 3 ptr: 0:204380:0 gen 0
    btree_root: btree=inodes l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f292b9adc7a95846 written 56 min_key POS_MIN durability: 2 ptr: 1:79060:0 gen 2 ptr: 0:207317:0 gen 0
    btree_root: btree=dirents l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e35beb91d1d5231 written 224 min_key POS_MIN durability: 2 ptr: 1:108907:0 gen 8 ptr: 0:207906:0 gen 0
    btree_root: btree=xattrs l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f57f9bbc5e69c589 written 24 min_key POS_MIN durability: 2 ptr: 1:108908:0 gen 9 ptr: 0:207907:0 gen 0
    btree_root: btree=alloc l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq bea06d97d77758ad written 88 min_key POS_MIN durability: 2 ptr: 1:3262:0 gen 3 ptr: 0:209094:0 gen 0
    btree_root: btree=reflink l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 673800752618832a written 48 min_key POS_MIN durability: 2 ptr: 1:109349:0 gen 3 ptr: 0:208290:0 gen 0
    btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 27daa4a190da058b written 16 min_key POS_MIN durability: 2 ptr: 1:109354:0 gen 5 ptr: 0:208291:0 gen 0
    btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a5a1ad3a94466565 written 24 min_key POS_MIN durability: 2 ptr: 1:109355:0 gen 4 ptr: 0:208292:0 gen 0
    btree_root: btree=lru l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ed9082ccdc8fd06b written 32 min_key POS_MIN durability: 2 ptr: 1:109415:0 gen 3 ptr: 0:208336:0 gen 0
    btree_root: btree=freespace l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 99c3cb7e4a0f0ef8 written 496 min_key POS_MIN durability: 2 ptr: 1:4095:0 gen 5 ptr: 0:200134:0 gen 0
    btree_root: btree=need_discard l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 378419a5209721dc written 56 min_key POS_MIN durability: 2 ptr: 1:109419:0 gen 4 ptr: 0:208338:0 gen 0
    btree_root: btree=backpointers l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e696fb7109f07337 written 328 min_key POS_MIN durability: 2 ptr: 1:110271:0 gen 2 ptr: 0:209006:0 gen 0
    btree_root: btree=bucket_gens l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 53994e8e9027d0cc written 48 min_key POS_MIN durability: 2 ptr: 1:110346:0 gen 1 ptr: 0:209064:0 gen 0
    btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7f92ff060d8000ab written 8 min_key POS_MIN durability: 2 ptr: 1:110347:0 gen 15 ptr: 0:209065:0 gen 0
    btree_root: btree=deleted_inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a0027093b9e3cefc written 24 min_key POS_MIN durability: 2 ptr: 1:110348:0 gen 4 ptr: 0:209066:0 gen 0
    btree_root: btree=logged_ops l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 45f82c0613666b55 written 24 min_key POS_MIN durability: 2 ptr: 1:110349:0 gen 1 ptr: 0:209067:0 gen 0
    btree_root: btree=rebalance_work l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9b9c6f099865e69e written 32 min_key POS_MIN durability: 2 ptr: 1:110377:0 gen 3 ptr: 0:209089:0 gen 0
    btree_root: btree=subvolume_children l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq fc9e73f1573d0740 written 8 min_key POS_MIN durability: 2 ptr: 1:110379:0 gen 14 ptr: 0:209090:0 gen 0
    btree_root: btree=accounting l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ba7a8a00a10fcd75 written 64 min_key POS_MIN durability: 2 ptr: 1:110380:0 gen 3 ptr: 0:209091:0 gen 0
    datetime: Sat Aug 17 09:38:35 2024
    usage: type=key_version v=7383930
    clock: read=310885160
    clock: write=836117304
    btree_keys:
    btree_root: btree=extents l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq b66f11177244f461 written 48 min_key POS_MIN durability: 2 ptr: 1:8160:0 gen 3 ptr: 0:204380:0 gen 0
    btree_root: btree=inodes l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f292b9adc7a95846 written 96 min_key POS_MIN durability: 2 ptr: 1:79060:0 gen 2 ptr: 0:207317:0 gen 0
    btree_root: btree=dirents l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e35beb91d1d5231 written 232 min_key POS_MIN durability: 2 ptr: 1:108907:0 gen 8 ptr: 0:207906:0 gen 0
    btree_root: btree=xattrs l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f57f9bbc5e69c589 written 24 min_key POS_MIN durability: 2 ptr: 1:108908:0 gen 9 ptr: 0:207907:0 gen 0
    btree_root: btree=alloc l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq bea06d97d77758ad written 88 min_key POS_MIN durability: 2 ptr: 1:3262:0 gen 3 ptr: 0:209094:0 gen 0
    btree_root: btree=reflink l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 673800752618832a written 48 min_key POS_MIN durability: 2 ptr: 1:109349:0 gen 3 ptr: 0:208290:0 gen 0
    btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 27daa4a190da058b written 16 min_key POS_MIN durability: 2 ptr: 1:109354:0 gen 5 ptr: 0:208291:0 gen 0
    btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a5a1ad3a94466565 written 24 min_key POS_MIN durability: 2 ptr: 1:109355:0 gen 4 ptr: 0:208292:0 gen 0
    btree_root: btree=lru l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ed9082ccdc8fd06b written 32 min_key POS_MIN durability: 2 ptr: 1:109415:0 gen 3 ptr: 0:208336:0 gen 0
    btree_root: btree=freespace l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 99c3cb7e4a0f0ef8 written 496 min_key POS_MIN durability: 2 ptr: 1:4095:0 gen 5 ptr: 0:200134:0 gen 0
    btree_root: btree=need_discard l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 378419a5209721dc written 56 min_key POS_MIN durability: 2 ptr: 1:109419:0 gen 4 ptr: 0:208338:0 gen 0
    btree_root: btree=backpointers l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e696fb7109f07337 written 328 min_key POS_MIN durability: 2 ptr: 1:110271:0 gen 2 ptr: 0:209006:0 gen 0
    btree_root: btree=bucket_gens l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 53994e8e9027d0cc written 48 min_key POS_MIN durability: 2 ptr: 1:110346:0 gen 1 ptr: 0:209064:0 gen 0
    btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7f92ff060d8000ab written 8 min_key POS_MIN durability: 2 ptr: 1:110347:0 gen 15 ptr: 0:209065:0 gen 0
    btree_root: btree=deleted_inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a0027093b9e3cefc written 32 min_key POS_MIN durability: 2 ptr: 1:110348:0 gen 4 ptr: 0:209066:0 gen 0
    btree_root: btree=logged_ops l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 45f82c0613666b55 written 24 min_key POS_MIN durability: 2 ptr: 1:110349:0 gen 1 ptr: 0:209067:0 gen 0
    btree_root: btree=rebalance_work l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9b9c6f099865e69e written 32 min_key POS_MIN durability: 2 ptr: 1:110377:0 gen 3 ptr: 0:209089:0 gen 0
    btree_root: btree=subvolume_children l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq fc9e73f1573d0740 written 8 min_key POS_MIN durability: 2 ptr: 1:110379:0 gen 14 ptr: 0:209090:0 gen 0
    btree_root: btree=accounting l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ba7a8a00a10fcd75 written 72 min_key POS_MIN durability: 2 ptr: 1:110380:0 gen 3 ptr: 0:209091:0 gen 0
    datetime: Sat Aug 17 09:38:35 2024
    usage: type=key_version v=7383930
    clock: read=310885160
    clock: write=836117304
    btree_keys:
    btree_root: btree=extents l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq b66f11177244f461 written 48 min_key POS_MIN durability: 2 ptr: 1:8160:0 gen 3 ptr: 0:204380:0 gen 0
    btree_root: btree=inodes l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f292b9adc7a95846 written 96 min_key POS_MIN durability: 2 ptr: 1:79060:0 gen 2 ptr: 0:207317:0 gen 0
    btree_root: btree=dirents l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e35beb91d1d5231 written 232 min_key POS_MIN durability: 2 ptr: 1:108907:0 gen 8 ptr: 0:207906:0 gen 0
    btree_root: btree=xattrs l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f57f9bbc5e69c589 written 24 min_key POS_MIN durability: 2 ptr: 1:108908:0 gen 9 ptr: 0:207907:0 gen 0
    btree_root: btree=alloc l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq bea06d97d77758ad written 88 min_key POS_MIN durability: 2 ptr: 1:3262:0 gen 3 ptr: 0:209094:0 gen 0
    btree_root: btree=reflink l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 673800752618832a written 48 min_key POS_MIN durability: 2 ptr: 1:109349:0 gen 3 ptr: 0:208290:0 gen 0
    btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 27daa4a190da058b written 16 min_key POS_MIN durability: 2 ptr: 1:109354:0 gen 5 ptr: 0:208291:0 gen 0
    btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a5a1ad3a94466565 written 24 min_key POS_MIN durability: 2 ptr: 1:109355:0 gen 4 ptr: 0:208292:0 gen 0
    btree_root: btree=lru l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ed9082ccdc8fd06b written 32 min_key POS_MIN durability: 2 ptr: 1:109415:0 gen 3 ptr: 0:208336:0 gen 0
    btree_root: btree=freespace l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 99c3cb7e4a0f0ef8 written 496 min_key POS_MIN durability: 2 ptr: 1:4095:0 gen 5 ptr: 0:200134:0 gen 0
    btree_root: btree=need_discard l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 378419a5209721dc written 56 min_key POS_MIN durability: 2 ptr: 1:109419:0 gen 4 ptr: 0:208338:0 gen 0
    btree_root: btree=backpointers l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e696fb7109f07337 written 328 min_key POS_MIN durability: 2 ptr: 1:110271:0 gen 2 ptr: 0:209006:0 gen 0
    btree_root: btree=bucket_gens l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 53994e8e9027d0cc written 48 min_key POS_MIN durability: 2 ptr: 1:110346:0 gen 1 ptr: 0:209064:0 gen 0
    btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7f92ff060d8000ab written 8 min_key POS_MIN durability: 2 ptr: 1:110347:0 gen 15 ptr: 0:209065:0 gen 0
    btree_root: btree=deleted_inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a0027093b9e3cefc written 32 min_key POS_MIN durability: 2 ptr: 1:110348:0 gen 4 ptr: 0:209066:0 gen 0
    btree_root: btree=logged_ops l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 45f82c0613666b55 written 24 min_key POS_MIN durability: 2 ptr: 1:110349:0 gen 1 ptr: 0:209067:0 gen 0
    btree_root: btree=rebalance_work l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9b9c6f099865e69e written 32 min_key POS_MIN durability: 2 ptr: 1:110377:0 gen 3 ptr: 0:209089:0 gen 0
    btree_root: btree=subvolume_children l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq fc9e73f1573d0740 written 8 min_key POS_MIN durability: 2 ptr: 1:110379:0 gen 14 ptr: 0:209090:0 gen 0
    btree_root: btree=accounting l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ba7a8a00a10fcd75 written 72 min_key POS_MIN durability: 2 ptr: 1:110380:0 gen 3 ptr: 0:209091:0 gen 0
    datetime: Sat Aug 17 09:38:36 2024
    usage: type=key_version v=7383930
    clock: read=310885160
    clock: write=836117304
    log: starting journal at entry 203443, replaying 0-203442
    btree_keys:
    btree_root: btree=extents l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq b66f11177244f461 written 80 min_key POS_MIN durability: 2 ptr: 1:8160:0 gen 3 ptr: 0:204380:0 gen 0
    btree_root: btree=inodes l=2 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f292b9adc7a95846 written 96 min_key POS_MIN durability: 2 ptr: 1:79060:0 gen 2 ptr: 0:207317:0 gen 0
    btree_root: btree=dirents l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e35beb91d1d5231 written 232 min_key POS_MIN durability: 2 ptr: 1:108907:0 gen 8 ptr: 0:207906:0 gen 0
    btree_root: btree=xattrs l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f57f9bbc5e69c589 written 24 min_key POS_MIN durability: 2 ptr: 1:108908:0 gen 9 ptr: 0:207907:0 gen 0
    btree_root: btree=alloc l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq bea06d97d77758ad written 120 min_key POS_MIN durability: 2 ptr: 1:3262:0 gen 3 ptr: 0:209094:0 gen 0
    btree_root: btree=reflink l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 673800752618832a written 48 min_key POS_MIN durability: 2 ptr: 1:109349:0 gen 3 ptr: 0:208290:0 gen 0
    btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 27daa4a190da058b written 16 min_key POS_MIN durability: 2 ptr: 1:109354:0 gen 5 ptr: 0:208291:0 gen 0
    btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a5a1ad3a94466565 written 24 min_key POS_MIN durability: 2 ptr: 1:109355:0 gen 4 ptr: 0:208292:0 gen 0
    btree_root: btree=lru l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ed9082ccdc8fd06b written 64 min_key POS_MIN durability: 2 ptr: 1:109415:0 gen 3 ptr: 0:208336:0 gen 0
    btree_root: btree=freespace l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 92892452d788583c written 192 min_key POS_MIN durability: 2 ptr: 1:3009:0 gen 2 ptr: 0:199985:0 gen 1
    btree_root: btree=need_discard l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 378419a5209721dc written 56 min_key POS_MIN durability: 2 ptr: 1:109419:0 gen 4 ptr: 0:208338:0 gen 0
    btree_root: btree=backpointers l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e696fb7109f07337 written 360 min_key POS_MIN durability: 2 ptr: 1:110271:0 gen 2 ptr: 0:209006:0 gen 0
    btree_root: btree=bucket_gens l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 53994e8e9027d0cc written 56 min_key POS_MIN durability: 2 ptr: 1:110346:0 gen 1 ptr: 0:209064:0 gen 0
    btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7f92ff060d8000ab written 8 min_key POS_MIN durability: 2 ptr: 1:110347:0 gen 15 ptr: 0:209065:0 gen 0
    btree_root: btree=deleted_inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq a0027093b9e3cefc written 32 min_key POS_MIN durability: 2 ptr: 1:110348:0 gen 4 ptr: 0:209066:0 gen 0
    btree_root: btree=logged_ops l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 45f82c0613666b55 written 24 min_key POS_MIN durability: 2 ptr: 1:110349:0 gen 1 ptr: 0:209067:0 gen 0
    btree_root: btree=rebalance_work l=1 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9b9c6f099865e69e written 56 min_key POS_MIN durability: 2 ptr: 1:110377:0 gen 3 ptr: 0:209089:0 gen 0
    btree_root: btree=subvolume_children l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq fc9e73f1573d0740 written 8 min_key POS_MIN durability: 2 ptr: 1:110379:0 gen 14 ptr: 0:209090:0 gen 0
    btree_root: btree=accounting l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ba7a8a00a10fcd75 written 96 min_key POS_MIN durability: 2 ptr: 1:110380:0 gen 3 ptr: 0:209091:0 gen 0
    datetime: Sat Aug 17 09:39:03 2024
    usage: type=key_version v=7383930
    clock: read=311043544
    clock: write=836277704
    log: starting journal at entry 203473, replaying 0-203472
    log: blacklisting entries 203537-203545
    log: starting journal at entry 203545, replaying 203496-203536
    log: blacklisting entries 206138-206147
    log: starting journal at entry 206147, replaying 204066-206137
    log: blacklisting entries 206807-206815
    log: starting journal at entry 206815, replaying 204881-206806
    log: blacklisting entries 208184-208198
    log: starting journal at entry 208198, replaying 207081-208183
    log: blacklisting entries 208819-208833
    log: starting journal at entry 208833, replaying 207485-208818
    log: blacklisting entries 209022-209030
    log: starting journal at entry 209030, replaying 207734-209021

@koverstreet
Copy link
Owner

Would you be willing to send me a metadata dump? Join the IRC channel and magic wormhole it to me

@jullanggit
Copy link
Author

jullanggit commented Aug 26, 2024

Yes, I would absolutely be open to do that, but I don't quite know how IRC and magic wormhole work. To my understanding, I send you the wormhole passkey via IRC and you pull the file?

koverstreet pushed a commit that referenced this issue Sep 8, 2024
If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

#727

Signed-off-by: Kent Overstreet <[email protected]>
koverstreet pushed a commit that referenced this issue Sep 9, 2024
If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

#727

Signed-off-by: Kent Overstreet <[email protected]>
koverstreet pushed a commit that referenced this issue Sep 10, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

#727

Signed-off-by: Kent Overstreet <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this issue Sep 14, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this issue Sep 15, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this issue Sep 16, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this issue Sep 17, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
johnny-mnemonic pushed a commit to linux-ia64/linux-stable-rc that referenced this issue Sep 17, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
reedriley pushed a commit to reedriley/linux that referenced this issue Sep 17, 2024
If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
gregkh pushed a commit to gregkh/linux that referenced this issue Sep 18, 2024
[ Upstream commit 1600514 ]

If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
intelfx pushed a commit to intelfx/linux that referenced this issue Oct 11, 2024
If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
yhamamachi pushed a commit to yhamamachi/linux-pcie-virtio-net that referenced this issue Oct 23, 2024
If a file is unlinked but still open, we don't want online fsck to
delete it - or fun inconsistencies will happen.

koverstreet/bcachefs#727

Signed-off-by: Kent Overstreet <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants