Project

General

Profile

Bug #41399

Move bluefs alloc size initialization log message to log level 1

Added by Vikhyat Umrao 27 days ago. Updated 22 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/22/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:

Description

- https://github.com/ceph/ceph/pull/29537

dout(20) << __func__ << " id " << id
         << " alloc_size 0x" << std::hex << alloc_size[id]
         << " size 0x" << bdev[id]->get_size() << std::dec << dendl;

- This will help to verify what value the BlueStore OSD is using for bluefs alloc_size.


Related issues

Copied to RADOS - Backport #41531: nautilus: Move bluefs alloc size initialization log message to log level 1 In Progress
Copied to RADOS - Backport #41532: luminous: Move bluefs alloc size initialization log message to log level 1 Resolved
Copied to RADOS - Backport #41533: mimic: Move bluefs alloc size initialization log message to log level 1 In Progress

History

#1 Updated by Vikhyat Umrao 27 days ago

- At present, from a shared BlueStore OSD which has wal, db and block all in one it is being set as 64K we can see in the following log line.

2019-08-22 15:46:42.089735 7f993e198d80 20 bluefs _init_alloc id 1 alloc_size 0x10000 size 0xba4d800000

- OSD metadata:


# ceph osd metadata osd.0
{
    "id": 0,
    "arch": "x86_64",
    "back_addr": "192.168.96.24:6804/348054",
    "back_iface": "p7p2",
    "bluefs": "1",
    "bluefs_db_access_mode": "blk",
    "bluefs_db_block_size": "4096",
    "bluefs_db_dev": "253:2",
    "bluefs_db_dev_node": "dm-2",
    "bluefs_db_driver": "KernelDevice",
    "bluefs_db_model": "",
    "bluefs_db_partition_path": "/dev/dm-2",
    "bluefs_db_rotational": "0",
    "bluefs_db_size": "800164151296",
    "bluefs_db_type": "ssd",
    "bluefs_single_shared_device": "1",
    "bluestore_bdev_access_mode": "blk",
    "bluestore_bdev_block_size": "4096",
    "bluestore_bdev_dev": "253:2",
    "bluestore_bdev_dev_node": "dm-2",
    "bluestore_bdev_driver": "KernelDevice",
    "bluestore_bdev_model": "",
    "bluestore_bdev_partition_path": "/dev/dm-2",
    "bluestore_bdev_rotational": "0",
    "bluestore_bdev_size": "800164151296",
    "bluestore_bdev_type": "ssd",
    "ceph_version": "ceph version 12.2.12-45.1.fix.el7cp (a6f565f1ec9e6650a496e00d37a2eae8cca49b17) luminous (stable)",
    "cpu": "Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz",
    "default_device_class": "ssd",
    "distro": "rhel",
    "distro_description": "Employee SKU",
    "distro_version": "7.6",
    "front_addr": "192.168.96.24:6804/348054",
    "front_iface": "p7p1",
    "hb_back_addr": "192.168.96.24:6805/348054",
    "hb_front_addr": "192.168.96.24:6805/348054",
    "hostname": "storage1.redhat.com",
    "journal_rotational": "0",
    "kernel_description": "#1 SMP Tue Jul 9 16:53:14 UTC 2019",
    "kernel_version": "3.10.0-957.27.2.el7.x86_64",
    "mem_swap_kb": "8388604",
    "mem_total_kb": "196268364",
    "os": "Linux",
    "osd_data": "/var/lib/ceph/osd/ceph-0",
    "osd_objectstore": "bluestore",
    "rotational": "0" 
}

#2 Updated by Vikhyat Umrao 27 days ago

  • Status changed from New to Need Review
  • Pull request ID set to 29822

#3 Updated by Vikhyat Umrao 26 days ago

  • Subject changed from Move bluefs alloc size initialization log message to log level 0 to Move bluefs alloc size initialization log message to log level 1

#4 Updated by Neha Ojha 22 days ago

  • Status changed from Need Review to Pending Backport
  • Backport set to luminous,mimic,nautilus

#5 Updated by Nathan Cutler 22 days ago

  • Copied to Backport #41531: nautilus: Move bluefs alloc size initialization log message to log level 1 added

#6 Updated by Nathan Cutler 22 days ago

  • Copied to Backport #41532: luminous: Move bluefs alloc size initialization log message to log level 1 added

#7 Updated by Nathan Cutler 22 days ago

  • Copied to Backport #41533: mimic: Move bluefs alloc size initialization log message to log level 1 added

Also available in: Atom PDF