Displaying 3 results from an estimated 3 matches for "huge_encode_dev".
2010 Sep 28
18
[PATCH] Btrfs: add a disk info ioctl to get the disks attached to a filesystem
...; PAGE_CACHE_SIZE) {
+ ret = -ENOMEM;
+ goto out;
+ }
+
+ dest = kzalloc(alloc_size, GFP_NOFS);
+ if (!dest) {
+ ret = -ENOMEM;
+ goto out;
+ }
+
+ devices = &root->fs_info->fs_devices->devices;
+
+ list_for_each_entry(device, devices, dev_list) {
+ dest[di_args.num_devices] =
+ huge_encode_dev(device->bdev->bd_dev);
+ di_args.num_devices++;
+ }
+
+ user_dest = (u64 *)
+ (arg + sizeof(struct btrfs_ioctl_disk_info_args));
+
+ if (copy_to_user(user_dest, dest, alloc_size))
+ ret = -EFAULT;
+out:
+ mutex_unlock(&root->fs_info->fs_devices->device_list_mutex);
+ if (ret =...
2009 Jan 30
8
[PATCH 0/7] ocfs2: Directory indexing support
The following patches implement indexed directory support in Ocfs2, mostly
according to the design doc I wrote up a while ago:
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/IndexedDirectories
The patches have been rebased on top of 2.6.29-rc2. It should be trivial to
put them into merge_window. Things are what I'd call complete now. I'd like
to get these into the merge_window branch
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi,
The following patches comprise the bulk of Ocfs2 updates for the
2.6.30 merge window. Aside from larger, more involved fixes, we're adding
the following features, which I will describe in the order their patches are
mailed.
Sunil's exported some more state to our debugfs files, and
consolidated some other aspects of our debugfs infrastructure. This will
further aid us in debugging