Skip to contentSkip to conversation

Integration branch of btrfs-progs 2013-01-30

DISCUSSION David Sterba 2 participants 5 messages Jan 30, 2013 – Feb 1, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

a few build warning fixes, unaligned access fix #2 and finally support for the 'device stats' and device 'replace' commands!

Please test, worked for me here, but not tested extensively. If everything goes well I'll send a pull request with this branch in a few days.

git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130130

(top commit 78b35a43988163dbf71d9)

I'll continue collecting patches and patchsets in the mean time. Existing patches and bugfixes have a slight precedence over patchsets.

thanks,
david

#1 lore raw
Quoted 3 lines · David Sterba

git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130130

(top commit 78b35a43988163dbf71d9)

Shortlog:

Anand Jain (1):
Btrfs-progs: move open_file_or_dir() to utils.c

Ben Peddell (1):
btrfs-progs: fix unaligned accesses v2

David Sterba (1):
btrfs-progs: fix build warnings in btrfslabel.c

Gene Czarcinski (1):
Btrfs-progs: Fix trival compiler error in cmds-qgroup.c

Stefan Behrens (3):
Btrfs-progs: make two utility functions globally available
Btrfs-progs: add command to get/reset device stats via ioctl
Btrfs-progs: add support for device replace procedure

#2 lore raw
Quoted 2 lines · David Sterba

Stefan Behrens (3):
Btrfs-progs: add command to get/reset device stats via ioctl

JFI, pointed out on IRC:

print-tree.c +2 -0
@@ -454,6 +454,8 @@ static void print_key_type(u64 objectid, u8 type)
                break;
        case BTRFS_QGROUP_LIMIT_KEY:
                printf("BTRFS_QGROUP_LIMIT_KEY");
+       case BTRFS_DEV_STATS_KEY:
+               printf("DEV_STATS_ITEM");
                break;
        default:
                printf("UNKNOWN.%d", type);

This hunk was mismerged, a missing break before case BTRFS_DEV_STATS_KEY:

I'll fix it in next integration, as it's not so urgent.

david

#3 lore raw
In reply to David Sterba

Am Mittwoch, 30. Januar 2013 schrieb David Sterba:

Quoted 1 line

Hi,

Hi,

Quoted 10 lines

a few build warning fixes, unaligned access fix #2 and finally support for the 'device stats' and device 'replace' commands!

Please test, worked for me here, but not tested extensively. If everything goes well I'll send a pull request with this branch in a few days.

git://repo.or.cz/btrfs-progs-unstable/devel.git integration-20130130

(top commit 78b35a43988163dbf71d9)

Tested device stats command, worked nicely on two BTRFS filesystems.

Hope the extended free space information stuff by Goffredo comes next :)

Thanks,

Signature · 2 lines
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
#4 lore raw
Quoted 1 line · Martin Steigerwald

Hope the extended free space information stuff by Goffredo comes next :)

The code needs some work, and I'm not sure where the dicusssions about the visual appearance of the output ended. I don't remember whether we had a generally accepted version.

I've pulled and rebased the patches from Goffredo's repo, based on some recent snapshot of integration branch, see foreign/fi-df-merge2 .

david