search for: inode_size

Displaying 10 results from an estimated 10 matches for "inode_size".

Did you mean: node_size
2010 Mar 20
2
[PATCH 4/4] btrfs-convert: split into convert/.
...EXT2_FT_SOCK] = BTRFS_FT_SOCK, - [EXT2_FT_SYMLINK] = BTRFS_FT_SYMLINK, -}; - -static int dir_iterate_proc(ext2_ino_t dir, int entry, - struct ext2_dir_entry *old, - int offset, int blocksize, - char *buf,void *priv_data) -{ - int ret; - int file_type; - u64 objectid; - u64 inode_size; - char dotdot[] = ".."; - struct btrfs_key location; - struct ext2_dir_entry_2 *dirent = (struct ext2_dir_entry_2 *)old; - struct dir_iterate_data *idata = (struct dir_iterate_data *)priv_data; - - objectid = dirent->inode + INO_OFFSET; - if (!strncmp(dirent->name, dotdot, dirent-&...
2012 Aug 04
2
resize too large
...ao 18.00t and the cryptsetup resize worked like a charm. I ran? e2fsck before the resize which pass sucessfully. I added ext4 = { ??????????????? features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize ??????????????? auto_64-bit_support = 1 ## ADDED THIS ??????????????? inode_size = 256 ??????? } to /etc/mke2fs.conf and run resize2fs and got the same error
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...k; + block_off = inode_offset % UFS_SB(fs)->inodes_per_block; + + /* + * Read the blk from the blk addr previously computed; + * Calc the inode struct offset into the read block. + */ + data = get_cache(fs->fs_dev, block_num); + return data + block_off * UFS_SB(fs)->inode_size; +} + +static struct inode * +ufs1_iget_by_inr(struct fs_info *fs, uint32_t inr) +{ + const struct ufs1_inode *ufs_inode; + struct inode *inode; + uint64_t *dest; + uint32_t *source; + int i; + + ufs_inode = (struct ufs1_inode *) ufs_get_inode(fs, inr); + if (!ufs_inode) + retu...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...k; + block_off = inode_offset % UFS_SB(fs)->inodes_per_block; + + /* + * Read the blk from the blk addr previously computed; + * Calc the inode struct offset into the read block. + */ + data = get_cache(fs->fs_dev, block_num); + return data + block_off * UFS_SB(fs)->inode_size; +} + +static struct inode * +ufs1_iget_by_inr(struct fs_info *fs, uint32_t inr) +{ + const struct ufs1_inode *ufs_inode; + struct inode *inode; + uint64_t *dest; + uint32_t *source; + int i; + + ufs_inode = (struct ufs1_inode *) ufs_get_inode(fs, inr); + if (!ufs_inode) + retu...
2008 Jan 07
1
[PATCH]Add rollback support for the converter
...ext2_filsys ext2_fs, ext2_ino_t ext2_ino, - struct ext2_inode *ext2_inode) + ext2_filsys ext2_fs, ext2_ino_t ext2_ino) { int ret; char *buffer = NULL; @@ -455,6 +458,7 @@ static int create_file_extents(struct bt u32 last_block; u32 sectorsize = root->sectorsize; u64 inode_size = btrfs_stack_inode_size(btrfs_inode); + u32 inode_flags = btrfs_stack_inode_flags(btrfs_inode); struct blk_iterate_data data = { .trans = trans, .root = root, @@ -466,6 +470,9 @@ static int create_file_extents(struct bt .checksum = 1, .errcode = 0, }; + + if (inode_flags & BT...
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Wrote the documentation below. I think it would be good to push the doc to the wiki as soon as the UFS support gets merged. Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install) ----- There is a confusion about the name of this file system, then I decided to contact the author who replied: "The name has always been
2013 Apr 03
0
[PATCH] Btrfs-progs: add a free space cache checker to fsck
...trfs_inode_item *inode_item; + struct extent_buffer *leaf; + struct io_ctl io_ctl; + struct btrfs_key key; + struct btrfs_key inode_location; + struct btrfs_disk_key disk_key; + struct btrfs_free_space *e, *n; + struct list_head bitmaps; + u64 num_entries; + u64 num_bitmaps; + u64 generation; + u64 inode_size; + u8 type; + int ret = 0; + + INIT_LIST_HEAD(&bitmaps); + + key.objectid = BTRFS_FREE_SPACE_OBJECTID; + key.offset = offset; + key.type = 0; + + ret = btrfs_search_slot(NULL, root, &key, path, 0, 0); + if (ret < 0) { + return 0; + } else if (ret > 0) { + btrfs_release_path(root, pa...
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com> Change since v1: * Fix bug on dentry structure (thank you specification; btw, sarcasm), and consequently a bug on ufs_readdir. * Add readlink support (applied tests for symlinks whose destionation path were stored in blk pointers and the file itself). * Several improvements. Wrote the documentation below. I think it would be good to
2011 Feb 18
1
How to fsck.ocfs2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, simple question: how can I execute a "fsck.ocfs2 /dev/sdf"? All I get is - ---snip--- myhost:~ # fsck.ocfs2 /dev/sdf fsck.ocfs2 1.4.3 Checking OCFS2 filesystem in /dev/sdf: Label: SAP01 UUID: 5969C8CABB854F8EA9C17B5B8DE48EC6 Number of blocks: 183500800 Block size: 4096 Number of
2012 Mar 20
13
[PATCH 0 of 3 v2] PV-GRUB: add support for ext4 and btrfs
Hi, The following patches add support for ext4 and btrfs to PV-GRUB. These patches are taken nearly verbatim from those provided by Fedora and Gentoo. We''ve been using these patches for the PV-GRUB images available in EC2 for some time now with no problems. Changes from v1: - Makefile has been changed to check the exit code from patch - The btrfs patch has been rebased to apply