Displaying 2 results from an estimated 2 matches for "bytes_missing".
2012 Aug 31
0
[PATCH v3] Btrfs-progs: add options to change bufsize in logical to inode translation
...return 1;
loi.logical = atoll(argv[optind]);
- loi.size = 4096;
+ loi.size = size;
loi.inodes = (u64)inodes;
fd = open_file_or_dir(argv[optind+1]);
@@ -176,8 +186,9 @@ static int cmd_logical_resolve(int argc, char **argv)
}
if (verbose)
- printf("ioctl ret=%d, bytes_left=%lu, bytes_missing=%lu, "
- "cnt=%d, missed=%d\n", ret,
+ printf("ioctl ret=%d, total_size=%llu, bytes_left=%lu, "
+ "bytes_missing=%lu, cnt=%d, missed=%d\n",
+ ret, size,
(unsigned long)inodes->bytes_left,
(unsigned long)inodes->bytes_missing,
inodes->el...
2013 Apr 24
1
Logical/i-nodes lookups give "path resolving failed with ret=-2"
...dev/root, sector 102196320, root 684, inode 60676040, offset
352583680: path resolving failed with ret=-2
[51078.683016] btrfs: bdev /dev/root errs: wr 0, rd 0, flush 0,
corrupt 35782, gen 0
Manual lookup :
# btrfs inspect-internal logical-resolve -v 51241746432 /
ioctl ret=0, bytes_left=4080, bytes_missing=0, cnt=0, missed=0
# ./btrfs inspect-internal inode-resolve 60676040 /
ioctl ret=-1, error: No such file or directory
Kernel is Linux 3.9-rc8, latest btrfs-progs from Chris Mason''s Git repository.
I am sure I am missing something but I am unable to figure out
what.... Any idea? Thanks!!...