Project

General

Profile

Bug #1071

rbd: mkfs.ext4 doesn't complete (but mke2fs -j does)

Added by Sage Weil almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
rbd
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

root@uml:~# mke2fs /dev/rbd0
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
640848 inodes, 2560000 blocks
128000 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2621440000
79 block groups
32768 blocks per group, 32768 fragments per group
8112 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 26 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@uml:~# mkfs.ext4 /dev/rbd0
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
640848 inodes, 2560000 blocks
128000 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2621440000
79 block groups
32768 blocks per group, 32768 fragments per group
8112 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information:

also hung my terminal...

History

#1 Updated by Sage Weil almost 13 years ago

bisected this down to

fatty:ceph-client 03:09 PM $ git bisect bad
77f38e0eeac290827f41fd2215ab82546b8f73b8 is the first bad commit
commit 77f38e0eeac290827f41fd2215ab82546b8f73b8
Author: Sage Weil <>
Date: Wed Apr 6 09:09:16 2011 -0700

libceph: fix linger request requeueing
Fix the request transition from linger -> normal request.  The key is to
preserve r_osd and requeue on the same OSD. Reregister as a normal request,
add the request to the proper queues, then unregister the linger. Fix the
unregister helper to avoid clearing r_osd (and also simplify the parallel
check in __unregister_request()).
Reported-by: Henry Chang &lt;&gt;
Signed-off-by: Sage Weil &lt;&gt;

:040000 040000 284fd5b9c2a58c6fedd931658ccd5ed6fa2b3522 d9d9415043af5bc61754fe6637c9c5e2709b1948 M net

#2 Updated by Sage Weil almost 13 years ago

Blarg, I can't reproduce this consistently. That bisect is probably bogus.

#3 Updated by Sage Weil almost 13 years ago

  • Target version changed from v2.6.39 to v3.0

#4 Updated by Sage Weil almost 13 years ago

  • translation missing: en.field_position set to 562

#5 Updated by Sage Weil almost 13 years ago

  • translation missing: en.field_position deleted (561)
  • translation missing: en.field_position set to 4

#6 Updated by Sage Weil almost 13 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF