similar to: [PATCH] Btrfs: log recovery, don't unlink inode always on error

Displaying 20 results from an estimated 300 matches similar to: "[PATCH] Btrfs: log recovery, don't unlink inode always on error"

2012 Jun 21
0
[RFC PATCH V2] Btrfs: introduce extent buffer cache for each i-node
This patch introduce extent buffer cache for every i-node. By this way, we can save the search time and reduce the lock contention of the root because we needn''t search the item from the root of b+ tree. Implementation: - add two pointers of extent buffer into btrfs_inode struct, one for nodes/leaves of fs/file tree, the other for nodes/leaves of the log tree. - add a variant to tell
2013 Apr 25
0
[PATCH] Btrfs: remove almost all of the BUG()'s from tree-log.c
There were a whole bunch and I was doing it for other things. I haven''t tested these error paths but at the very least this is better than panicing. I''ve only left 2 BUG_ON()''s since they are logic errors and I want to replace them with a ASSERT framework that we can compile out for production users. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> ---
2010 Jul 29
1
[Bug] check return of kmalloc()
Hi, I''ve discovered that some btrfs code doesn''t check whether kmalloc() call succeeded. I poorly understand what this code does and how it can be changed, maybe it would be happy with __GFP_NOFAIL. Also there are BUG_ON() after kmalloc()''s, if they could be changed not to panic it would be great. --- ./fs/btrfs/compression.c 2010-07-06 16:45:48.000000000 +0400 +++
2008 Jan 07
1
[PATCH]Add rollback support for the converter
Hello, This patch adds rollback support for the converter, the converter can roll back a conversion if the image file haven't been modified. In addition, I rearrange some codes in convert.c and add a few comments. Regards YZ --- diff -r 12138d4beeb0 convert.c --- a/convert.c Fri Jan 04 11:29:55 2008 -0500 +++ b/convert.c Mon Jan 07 23:35:25 2008 +0800 @@ -33,6 +33,7 @@ #include
2010 Sep 03
0
[PATCH 1/2] btrfs: document where we use BUG_ON instead of error handling
Document those places in the btrfs code which are BUGing on non-fatal error conditions that should be handled by proper error paths. This makes it easier to distinguish between what needs fixing versus which BUG_ON''s we might want to keep (to trap code bugs, unexpected inconsistencies, etc). Do this with a trivial macro, ''btrfs_fixable_bug_on'' which just defines to
2013 Aug 04
0
[PATCH] Btrfs: fix inode leak on kmalloc failure in tree-log.c
In tree-log.c:replay_one_name(), if memory allocation for the name fails, ensure we iput the dir inode we got before before we return. Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com> --- fs/btrfs/tree-log.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index ff60d89..6797a93 100644 ---
2013 Oct 15
4
[PATCH] Btrfs: fix incorrect inode acl reset
When a directory has a default ACL and a subdirectory is created under that directory, btrfs_init_acl() is called when the subdirectory''s inode is created to initialize the inode''s ACL (inherited from the parent directory) but it was clearing the ACL from the inode after setting it if posix_acl_create() returned success, instead of clearing it only if it returned an error. To
2013 Aug 27
7
[PATCH] Btrfs: fix deadlock in uuid scan kthread
If there''s an ongoing transaction when the uuid scan kthread attempts to create one, the kthread will block, waiting for that transaction to finish while it''s keeping locks on the tree root, and in turn the existing transaction is waiting for those locks to be free. The stack trace reported by the kernel follows. [36700.671601] INFO: task btrfs-uuid:15480 blocked for more than
2009 Nov 12
0
[PATCH 03/12] Btrfs: Rewrite btrfs_drop_extents
Rewrite btrfs_drop_extents by using btrfs_duplicate_item, so we can avoid calling lock_extent within transaction. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> --- fs/btrfs/ctree.h | 7 +- fs/btrfs/file.c | 659 ++++++++++++++++++++------------------------------- fs/btrfs/inode.c | 27 +-- fs/btrfs/ioctl.c | 3 +- fs/btrfs/tree-log.c | 4 +- 5 files changed, 277
2008 Jul 19
0
unlink in samba 3.0.28a
Im try user unlink with VFS in samba 3.0.28a, VFS it provide for my FS. but if I make delete file in WinXP, file removed from folder, but after update (F5) file show again.... logs: level 10 get that delete message was from XP, but VFS did not call unlink procedure... after that on any other operation(such as F5) I get error Access Denied (errnum 5) What is it?
2011 Nov 01
0
[PATCH] Btrfs: release metadata from global reserve if we have to fallback for unlink
I fixed a problem where we weren''t reserving space for an orphan item when we had to fallback to using the global reserve for an unlink, but I introduced another problem. I was migrating the bytes from the transaction reserve to the global reserve and then releasing from the global reserve in btrfs_end_transaction(). The problem with this is that a migrate will jack up the size for the
2006 Aug 17
1
unlink disables help?
I was hoping that someone could try to reproduce an error that I am getting. The R Site Search keeps timing out on me, so apologies of this has already come up. I'm using > R.version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32
2017 Nov 14
0
What is the difference between FORGET and UNLINK fops
Hi Ben, Yes, I was referring to the same link before and I think most of the FOPS I've understood from the definitions there and I'll update if I found any corrections or new definitions. Btw, my previous underatanding about LOOKUP is wrong, its NOT dns lookup. Regards, Jeevan. On Nov 14, 2017 11:02 AM, "Ben Turner" <bturner at redhat.com> wrote: Here is some of the
2006 Apr 20
0
unlink a directory
Hi, Occasionally I get an error message in my dovecot log when, in evolution, I click on the inbox: dovecot: Apr 21 00:07:06 Error: imap(admin): unlink(/home/admin/.maildir/cur/1145393825.P23027Q0M159929.terminator.odyssey.nl:2,ST) failed: Is a directory Instead of the message being delivered as a file it appears to be written as a directory. Deleting those directories solves the error message
2002 Sep 18
1
unlink data file in cups_job_submit
With samba-2.2.5, cups-1.1.14, and printcap=cups, I find that I have to explicitly clean up old print data files in /var/spool/samba with a cron job. With a traditional LPR, we use -r to tell lpr to remove the file for us after the file is spooled. With cups, we send it over ipp, and I think we should then unlink the data file ourselves. Does this seem right? --- print_cups.c~ Thu May
2010 Jun 11
1
hardlink unlink-before-save?
Hello list On my server almost half of files are duplicated, and there are almost 100GB of data which is growing fast. I'm using weekly script to find duplicated files and replace them with hardlinks. Everything is fine as long as users aren't trying to edit and save some documents which have hardlinks. With samba 3.3 it seems that hardlinks aren't unlinked before file is saved.
2002 Oct 29
0
Fwd: Re: Fwd: rsync and unlink permission
> On Mon, Oct 28, 2002 at 03:12:53PM +0800, Patrick Hsieh wrote: > > Since "foo" has no write permission under /var/www, he cannot rsync > > from remote server to the local filesystem because rsync will try to > > make temp file and unlink the original file before writing over it. Is > > there any solution to this problem? > > See the -T (--temp-dir)
2015 Sep 16
0
[Bug 11523] New: Request: Add option to unlink hard links when permissions change
https://bugzilla.samba.org/show_bug.cgi?id=11523 Bug ID: 11523 Summary: Request: Add option to unlink hard links when permissions change Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee:
2015 Sep 21
0
[Bug 11523] New: Request: Add option to unlink hard links when permissions change
Folks, bugs at stupidkitties.com wrote: " I was wondering if it'd be feasible to add an option (or multiple options, depending on the desired granularity) to cause rsync to treat changes in file attributes the same way it treats changes to the file's contents when it encounters hard links at the destination. Maybe something like --relink-p or something?" One of colleagues has
2000 Dec 20
0
unlink() is not synchronized with existing connections (PR#785)
On Wed, 20 Dec 2000 joehl@web.de wrote: > > # creating a file > > cat("sddfasdf", file="tempfile") > > showConnections() > class description mode text isopen can read can write > > con <- file("tempfile", "r") > > readLines(con) > [1] "sddfasdf" > Warning message: > incomplete final line in: