search for: dirid

Displaying 18 results from an estimated 18 matches for "dirid".

Did you mean: dirfd
2013 Apr 11
0
[PATCH] Btrfs-progs: enhance 'btrfs subvolume list'
...ormation about subvolumes shall be printed. This is necessary because this commit also adds all the so far missing items from the root_item like the received UUID, all generation values and all time values. The parameters to the "--fields" option is a list of items to print: --fields=gen,dirid,uuid,puuid,ruuid,cgen,ogen,sgen,rgen,ctime,otime, stime,rtime,path,rootid,parent,topid,all Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> --- btrfs-list.c | 418 ++++++++++++++++++++++++++++++++++++------------------- btrfs-list.h | 40 +++++- cmds-subvolume.c | 57 ++...
2006 Jul 17
6
3 newbie questions
...image_id,tag_id). My question is that given that I can''t rename the table, is there any way to make it work with the original names? Second question: I have 2 tables like this: Picture(id,name,albumid) Albums(id,name) in my Picture model I put: belongs_to :album, :foreign_key => "dirid" and in my Album model I put: has_many :images Yet, in my album/list.rhtml when I put : <td><% for picture in album.pictures %> <%= picture.name %> <% end %> </td> I get: SQLite3::SQLException: no such column: pictures.album_id: SELECT * FROM pictures WHERE (pi...
2006 Jul 18
0
another 2 newbie questions
Hey all, Ok I have three tables: Images(id,name,dirid) #dirid is a foreign key to Album.url, the path to the image Albums(id,url) Tags(id,name) ImagesTags(image_id,tag_id) I have a HABTM relation for tags and images and a belongs_to/has_many relation for albums and images. Now in my views/tag/show.rhtml I have this: <% for album in @albums %> &...
2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
...andle *trans, struct btrfs_key *location, u8 type, u64 index); struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, - struct btrfs_path *path, u64 dir, + struct inode *dir, + struct btrfs_path *path, u64 dirid, const char *name, int name_len, int mod); struct btrfs_dir_item * @@ -2851,7 +2876,8 @@ int btrfs_delete_one_dir_name(struct btrfs_trans_handle *trans, struct btrfs_dir_item *di); int btrfs_insert_xattr_item(struct btrfs_trans_handle *trans, struct btrfs_r...
2011 May 30
5
Damaged super block / fs root
I have accidently damaged the first block(s) of a btrfs partition and can''t mount it anymore. I can see that my data is still intact by running a command like: cat /dev/sda5 | hexdump -C | more Do any (experimental) tools exist which would allow me to recover the files? Thank you -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a
2011 Jul 12
0
[PATCH]: Use a general way to get the default subvolume for btrfs
...u16; +typedef __u8 u8; +typedef u64 __le64; +typedef u16 __le16; + +#define BTRFS_ROOT_BACKREF_KEY 144 +#define BTRFS_ROOT_TREE_DIR_OBJECTID 6ULL +#define BTRFS_DIR_ITEM_KEY 84 + +/* + * * this is used for both forward and backward root refs + * */ +struct btrfs_root_ref { + __le64 dirid; + __le64 sequence; + __le16 name_len; +} __attribute__ ((__packed__)); + +struct btrfs_disk_key { + __le64 objectid; + u8 type; + __le64 offset; +} __attribute__ ((__packed__)); + +struct btrfs_dir_item { + struct btrfs_disk_key location; + __le64 t...
2013 Jun 04
0
[PATCH] Btrfs-progs: fix incorrect root backref errors in fsck
...fs subvol snap /mnt/ /mnt/a btrfs subvol snap /mnt/ /mnt/b btrfs subvol del /mnt/a umount /mnt btrfsck /dev/sdb and you''d get this unresolved ref root 258 dir 256 index 2 namelen 1 name a error 600 because snapshot b has a dir item that points to a. Except we encode in our root ref the dirid of the ref holder, and if it doesn''t match we just give it back a empty directory since we can''t hardlink directories. This makes the check in btrfsck bogus, when we delete a we remove the ref key for it so any lookups into /mnt/b/a will just give a blank directory as it''...
2010 Dec 14
0
[PATCH] BTRFS_IOC_TREE_SEARCH: store and use the last key found
...rt_objectid = 0; + args->key.start_type = 0; + args->key.start_offset = 0; + + ret = search_ioctl(inode, args); + if (ret == 0 && copy_to_user(argp, args, sizeof(*args))) + ret = -EFAULT; + kfree(args); + return ret; +} + + /* * Search INODE_REFs to identify path name of ''dirid'' directory * in a ''tree_id'' tree. and sets path name to ''name''. @@ -2286,6 +2324,8 @@ long btrfs_ioctl(struct file *file, unsigned int return btrfs_ioctl_trans_start(file); case BTRFS_IOC_TRANS_END: return btrfs_ioctl_trans_end(file); + case BT...
2013 Jan 10
0
[PATCH 03/11] Btrfs: use atomic for fs_info->last_trans_log_full_commit
...it = trans->transid; + atomic64_set(&root->fs_info->last_trans_log_full_commit, + trans->transid); ret = 0; } else if (ret < 0) btrfs_abort_transaction(trans, root, ret); @@ -2647,7 +2651,8 @@ int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, dirid, &index); mutex_unlock(&BTRFS_I(inode)->log_mutex); if (ret == -ENOSPC) { - root->fs_info->last_trans_log_full_commit = trans->transid; + atomic64_set(&root->fs_info->last_trans_log_full_commit, + trans->transid); ret = 0; } else if (ret < 0 &am...
2010 Dec 10
1
TeleVantage Client 8
Hello. I am trying to run TeleVantage Client 8.00.5556 on Wine but it doesn't work all the way. I have done the following, after some tips here and there: Wine 1.2 under Ubuntu 10.04 in a VMware Player as I am testing. OS version set to Windows 7 Server is running on Windows 2003 on the LAN workgroup and has windows clients today (something I had hoped to change) Client installed through
2015 Oct 02
0
Wine release 1.7.52
...Return success from IFileDialog2::AddPlace. comdlg32: Return success from IFileDialogCustomize::MakeProminent. comdlg32: Implement radio button lists in item dialog. shell32: Do nothing if we can't convert PIDL to path in SHAddToRecentDocs. setupapi/tests: Add tests for dirid values. YongHao Hu (2): msvcp110: Add tr2_sys__Last_write_time implementation and test. msvcp120/tests: Add tr2_sys__Last_write_time test. -- Alexandre Julliard julliard at winehq.org
2007 Aug 24
0
Wine release 0.9.44
...ssion in alt, then right processing with eg wines notepad. cmd.exe: Redirection for external programs was broken by the conversion to unicode. advpack: Strip single quotes (with tests) on reg keys. regedit: Fix importing of .reg hex. setupapi: Remove duplicate backslashes on dirids. comctl32: Fix missing tooltips. comctl32: Fix tooltips uninitialized variables plus wrong positioning. comctl32: Listview fails to add a column if mask=0. Juan Lang (80): crypt32: Ex encode/decode functions should call non-Ex versions if no Ex version is available....
2011 Aug 26
0
[PATCH] Btrfs: make some functions return void
..._dentry_safe(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct dentry *dentry); @@ -38,7 +38,7 @@ int btrfs_del_inode_ref_in_log(struct btrfs_trans_handle *trans, struct btrfs_root *root, const char *name, int name_len, struct inode *inode, u64 dirid); -int btrfs_end_log_trans(struct btrfs_root *root); +void btrfs_end_log_trans(struct btrfs_root *root); int btrfs_pin_log_trans(struct btrfs_root *root); int btrfs_log_inode_parent(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct inode *inode, diff --git a/fs/btrfs/volume...
2012 Aug 01
17
[PATCH] add crtime to the snapshot list
From: Anand <anand.jain@oracle.com> This patch adds creation-time to the snapshot list display, which would help user to better manage the snapshots when number of snapshots grow substantially. This patch is developed and on top of the send/receive btrfs and btrfs-progs repo at git://github.com/ablock84/linux-btrfs.git (send-v2) git://github.com/ablock84/btrfs-progs.git (send-v2)
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
2009 Jan 16
0
Wine release 1.1.13
...ackBackTrace 16888 .NET 3.0: WCF installer requires httpapi.dll with some stubs 16893 .NET 3.0: Windows Workflow Foundation post-install: loadperf needs LoadPerfCounterTextStringsA/W stubs 16906 .NET 3.0: XPSEPSC installer copies print processor files to wrong directory (setupapi unhandled dirid 55) 16911 WriteProcessMemory() not working for memory protected by X11DRV_DIB_DoProtectDIBSection() 16922 Build broken on NetBSD ---------------------------------------------------------------- Changes since 1.1.12: Aleksey Bragin (1): ntdll: Fix buffer overread in RtlNumberOfSetBits...
2010 Dec 01
3
Error While installing Wine on OSX version 10.4.1.1!!
...nfig.status: creating dlls/serialui/tests/Makefile > :info:build ../../../tools/makedep -xo -xcross.o -C. -S../../.. -T../../.. confdlg.c > :info:build config.status: creating dlls/setupapi/Makefile > :info:build ../../tools/makedep -C. -S../.. -T../.. devinst.c dialog.c dirid.c diskspace.c fakedll.c install.c misc.c parser.c query.c queue.c setupcab.c stringtable.c stubs.c Bg.rc Cs.rc Da.rc De.rc En.rc Eo.rc Es.rc Fi.rc Fr.rc He.rc Hu.rc It.rc Ja.rc Ko.rc Lt.rc Nl.rc No.rc Pl.rc Pt.rc Ro.rc Ru.rc Si.rc Sk.rc Sr.rc Sv.rc Tr.rc Uk.rc Zh.rc > :info:build...
2011 Oct 04
68
[patch 00/65] Error handling patchset v3
Hi all - Here''s my current error handling patchset, against 3.1-rc8. Almost all of this patchset is preparing for actual error handling. Before we start in on that work, I''m trying to reduce the surface we need to worry about. It turns out that there is a ton of code that returns an error code but never actually reports an error. The patchset has grown to 65 patches. 46 of them