BITMAP

BITMAP

BITMAP 로그

bitmap 할당·잠금·I/O·크기 조정과 in-sync/out-of-sync 비트 변경에 해당하는 로그를 현재 코드 기준으로 정리합니다.

분류 상수: BSR_LC_BITMAP

이 카테고리에서 확인할 사항

  • 출력 맥락: bitmap 할당·잠금·I/O·크기 조정과 in-sync/out-of-sync 비트 변경

  • 우선 점검: bitmap 객체와 페이지, sector 범위, lock 소유자, meta disk I/O와 bitmap 크기

  • 플랫폼 분기: 같은 인덱스가 여러 행이면 Linux/Windows, 호환성 또는 실행 조건에 따른 메시지 변형입니다.

로그 목록

로그 인덱스

로그 수준

현재 코드 메시지

상세 의미 및 영향

비고

코드 위치

로그 인덱스

로그 수준

현재 코드 메시지

상세 의미 및 영향

비고

코드 위치

-1 (1/16 변형)

debug

Chunk root offset %llu outside device range %llu, attempting sys_chunk_array mapping

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:409

-1 (2/16 변형)

debug

Direct read failed or invalid header at %llu, attempting sys_chunk_array mapping

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:402

-1 (3/16 변형)

debug

Mapped chunk_root via sys_chunk_array: logical=%llu -> physical=%llu

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:423

-1 (4/16 변형)

debug

bitmap buffer offset = %llu, end offset = %llu, start_mask %d, end_mask %d, BM_BLOCK_SHIFT %d

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:158

-1 (5/16 변형)

debug

byte index = %llu, bit index = %llu, mask = %d

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:176

-1 (6/16 변형)

debug

node offset = %llu, item offset = %llu offset = %llu, chunk offset %llu, stripe offset = %llu, size = %llu

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:156

-1 (7/16 변형)

debug

sys_chunk_array resolved %llu but header verify failed

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:427

-1 (8/16 변형)

debug

sys_chunk_array: even-split map logical=%llu rel=%llu stripe_unit=%llu stripe=%llu within=%llu phys=%llu

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:323

-1 (9/16 변형)

debug

sys_chunk_array: item %u chunk logical_range=[%llu..%llu) len=%llu stripes=%u

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:265

-1 (10/16 변형)

debug

sys_chunk_array: item %u key.objectid=%llu type=%u offset=%llu remain=%u

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:226

-1 (11/16 변형)

debug

sys_chunk_array: mirrored layout map logical=%llu rel=%llu phys=%llu

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:300

-1 (12/16 변형)

debug

sys_chunk_array: single stripe map logical=%llu rel=%llu phys=%llu

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:284

-1 (13/16 변형)

debug

sys_chunk_array: start parse logical=%llu size=%u

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:202

-1 (14/16 변형)

debug

sys_chunk_array: stripe layout map logical=%llu rel=%llu stripe_len=%llu stripe=%llu within=%llu phys=%llu stripes=%u

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:311

-1 (15/16 변형)

debug

traversing mode @ %llu, level: %u, items: %u

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:50

-1 (16/16 변형)

debug

validate_tree: expect_logical=%llu bytenr=%llu level=%u nritems=%u

  •  

  •  

bsr-platform/linux/bsrhk/btrfs_fs.c:356

1

info

%s => Skipped to setup sync mode(%d) due to request size is invalid. %s: sector(%llus) size(%u) nonsense!

요청 크기가 잘못되어 비트맵 비트 설정을 실패했습니다. out of sync 또는 in sync 설정을 실패합니다.

로그에 출력 된 sector와 size의 크기가 비트맵 범위를 넘어서는지 확인이 필요합니다.

bsr/bsr_actlog.c:1440

2

info

%s => Skipped to setup sync due to in %s state, sector(%llu), mode(%u)

비트맵 비트 설정 할 수 없는 디스크 상태입니다. out of sync 또는 in sync 설정을 실패합니다.

디스크 상태 확인이 필요합니다.

bsr/bsr_actlog.c:1452

3

info

%s => Skipped to setup sync mode(%d) due to unexpected error, The sector(%llu) is larger than the capacity(%llu).

요청 범위가 디스크 섹터 범위를 초과하여 비트맵 비트 설정을 실패했습니다. out of sync 또는 in sync 설정을 실패합니다.

로그에 출력 된 sector와 size의 크기가 디스크 섹터 범위를 초과하는지 확인이 필요합니다.

bsr/bsr_actlog.c:1462

4

debug

%s => Skipped to setup sync due to smaller than bitmap bit size, sector(%llu) ~ sector(%llu)

in sync 길이가 가 비트맵의 1비트(4096byte)보다 작습니다. in sync로 설정하지 않습니다.

  •  

bsr/bsr_actlog.c:1478

5

info

Skipped to setup sync due to in %s state. sector(%llu)

비트맵 비트를 설정 할 수 없는 디스크 상태입니다. out of sync 또는 in sync 설정을 실패합니다.

디스크 상태 확인이 필요합니다.

bsr/bsr_actlog.c:1545

6

info

Skipped to setup sync due to unexpected error, The sector(%llu) is larger than the capacity sector(%llu).

요청 범위가 디스크 섹터 범위를 초과하여 비트맵 비트 설정을 실패 했습니다. out of sync 또는 in sync 설정을 실패합니다.

로그에 출력 된 sector가 디스크 섹터 범위를 초과하는지 확인이 필요합니다.

bsr/bsr_actlog.c:1558

7

info

%s => Skipped to setup sync due to size is invalid. sector(%llus), size(%d)

요청 크기가 잘못되어 비트맵 비트 설정을 실패했습니다. out of sync 또는 in sync 설정을 실패합니다.

로그에 출력 된 size가 0보다 작거나 512의 배수가 아닌지 확인이 필요합니다.

bsr/bsr_actlog.c:1536

8

err

FIXME, %s[%d] in %s, bitmap locked for '%s' by %s[%d]

비트맵 lock을 획득하지 못했을때 출력되는 로그입니다.

로그에 출력 lock을 획득 정보의 확인이 필요합니다. 상황에 따라 오류가 아닐 수 있습니다.

bsr/bsr_bitmap.c:126

9

err

FIXME, Failed to lock bitmap due to unable to find lock information for bitmap

비트맵 정보를 찾을 수 없어 비트맵 lock을 실패했습니다.

비트맵이 정상적으로 생성되고 로드되었는지 확인이 필요합니다.

bsr/bsr_bitmap.c:156

10

err

FIXME, Failed to lock bitmap due to already locked in bm_lock

이미 비트맵 lock을 획득한 상태에서 lock획득을 시도해 실패했습니다.

비트맵 lock은 한번만 획득 할 수 있으며 상황에 따라 오류가 아닐 수 있습니다.

bsr/bsr_bitmap.c:180

11

err

FIXME, Failed to lock bitmap due to no bitmap allocated.

비트맵 정보를 찾을 수 없어 비트맵 unlock을 실패했습니다.

비트맵이 정상적으로 생성되고 로드되었는지 확인이 필요합니다.

bsr/bsr_bitmap.c:203

12

err

FIXME, Failed to lock bitmap due to no lock is set on bitmap flags.

비트맵의 lock flag가 설정되어 있지 않은 상태에서 unlock을 시도했을때 출력되는 로그입니다.

비트맵 unlcok 호출 시 lock flag가 설정되어 있어야 합니다. 설정되어 있지 않은 상태에서 호출되었다면 확인되지 않은 버그로 예상되며 전체적인 로그 분석이 필요합니다.

bsr/bsr_bitmap.c:208

13

alert

The bitmap page you are trying to unassign does not exist. page index(%lu), total(%lu)

비트맵 페이지 해제 중 할당 되지 않은 페이지가 있습니다.

  •  

bsr/bsr_bitmap.c:339

14

err

Failed to bitmap operation due to no bitmap is assigned, start(%llu)

비트맵이 할당되지 않아 비트맵 작업을 실패했습니다. out of sync 또는 in sync 설정을 실패합니다.

비트맵 할당 실패 로그가 있는지 확인이 필요합니다.

bsr/bsr_bitmap.c:779

15

err

Failed to bitmap operation due to no bitmap pages is assigned, start(%llu)

비트맵을 저장하는 페이지가 할당되지 않아 비트맵 작업을 실패했습니다. out of sync 또는 in sync 설정을 실패합니다.

비트맵을 저장하는 페이지 할당 실패 로그가 있는지 확인이 필요합니다.

bsr/bsr_bitmap.c:787

16

err

Failed to bitmap operation due to bitmap bits is 0, start(%llu)

비트맵에서 사용하는 비트가 존재하지 않습니다. out of sync 또는 in sync 설정을 실패합니다.

로그 등을 통해 비트맵이 정상적으로 생성되었는지 확인이 필요합니다.

bsr/bsr_bitmap.c:796

17

info

%s: bm_op(..., %u, %lu, %lu, %u, %p)

  •  

  •  

bsr/bsr_bitmap.c:843

18

info

= %lu

  •  

  •  

bsr/bsr_bitmap.c:846

19

info

%s: __bm_op(..., %u, %lu, %lu, %u, %p)

  •  

  •  

bsr/bsr_bitmap.c:851

20

info

= %lu

  •  

  •  

bsr/bsr_bitmap.c:854

21

info

%s: ___bm_op(..., %u, %lu, %lu, %u, %p)

  •  

  •  

bsr/bsr_bitmap.c:861

22

info

= %lu

  •  

  •  

bsr/bsr_bitmap.c:864

23

info

Start resizing the bitmap size to disk capacity. capacity sector(%llu)

디스크 크기가 변경 되었다면 비트맵을 재설정합니다.

디스크 크기가 변경되지 않아도 출력됩니다.

bsr/bsr_bitmap.c:935

24

err

Failed to resize bitmap due to not enough space for bitmap. bitmap(%llu) space(%llu)

메타 디스크 공간이 부족하여 비트맵을 실패했습니다. attach를 실패하거나 피어 노드와 연결이 종료됩니다.

메타 디스크 확장 작업이 필요합니다.

bsr/bsr_bitmap.c:971

25

info

The bitmap size has been resized to disk capacity. bits(%llu) words(%llu) pages(%llu)

디스크 크기 변경으로 재설정 된 비트맵 정보입니다.

  •  

bsr/bsr_bitmap.c:1071

27

info

Bitmap %s of %llu pages took %ums

비트맵 쓰기 요청이 5ms 이상 소요되었습니다.

  •  

bsr/bsr_bitmap.c:1704

28

alert

Meta disk I/O error occurred during bitmap I/O

비트맵 I/O 중 오류 발생으로 메타 디스크 I/O 가 실패했습니다. 디스크 상태가 diskless로 설정됩니다.

  •  

bsr/bsr_bitmap.c:1711

29

info

Recounting of set bits took additional %ums

비트맵 읽기 요청 소요 시간입니다.

  •  

bsr/bsr_bitmap.c:1722

30

err

Failed to fill bitmap due to unexpected out-of-sync has occurred

예기치 않은 오류로 비트맵 인코딩을 실패 했습니다. 피어 노드와 재연결됩니다.

비트맵 교환 과정에서 아주 낮은 확률로 발생 할 수 있습니다.

bsr/bsr_main.c:2472

31

err

Failed to fill bitmap due to error while encoding bitmap. bits(%d)

비트맵 인코딩 중 오류가 발생 했습니다. 비트맵을 다시 요청합니다.

  •  

bsr/bsr_main.c:2481

33

err

Failed to send bitmap due to bitmap length is invalid. len(%d)

비트맵 인코딩을 실패 했습니다. 비트맵 길이가 잘못되었으며 피어 노드와 재연결됩니다.

  •  

bsr/bsr_main.c:2537

35

info