Displaying 15 results from an estimated 15 matches for "ocfs2_setattr".
2009 Feb 03
1
Problem with ordered mode handling on truncate
...orrect fix to this problem is to call
jbd2_journal_begin_ordered_truncate() after inode has been added to orphan
list (new i_size written respectively). That function is called from two
places:
1) ocfs2_truncate_for_delete() - easy to fix, just move the call just after
the write of the inode.
2) ocfs2_setattr() - we can move the call into ocfs2_truncate_file() but
that would mean calling jbd2_journal_begin_ordered_truncate()
and consequently ocfs2_write_page() under ip_alloc_sem - not too nice.
Furthermore ocfs2_orphan_for_truncate() zeros the last cluster
beyond i_size and we cannot do that...
2009 Apr 06
0
[PATCH] ocfs2: Use nd_set_link().
...*cookie)
+{
+ char *link = cookie;
+
+ kfree(link);
}
const struct inode_operations ocfs2_symlink_inode_operations = {
.readlink = page_readlink,
- .follow_link = ocfs2_follow_link,
+ .follow_link = page_follow_link_light,
+ .put_link = page_put_link,
.getattr = ocfs2_getattr,
.setattr = ocfs2_setattr,
.setxattr = generic_setxattr,
@@ -171,7 +167,8 @@ const struct inode_operations ocfs2_symlink_inode_operations = {
};
const struct inode_operations ocfs2_fast_symlink_inode_operations = {
.readlink = ocfs2_readlink,
- .follow_link = ocfs2_follow_link,
+ .follow_link = ocfs2_fast_follow_link,...
2007 Jan 23
1
ocfs2 kernel bug in Fedora Core 4 update kernel
...n battery ac uhci_hcd
e7xxx_edac edac_mc i2c_i801 i2c_core t
g3 e100 mii floppy dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod mptfc
scsi_transport_fc mptscsih mptbase sd_m
od scsi_mod
CPU: 1
EIP: 0060:[<f8bc5ebe>] Not tainted VLI
EFLAGS: 00010286 (2.6.17-1.2142_FC4smp #1)
EIP is at ocfs2_setattr+0x6a8/0x1000 [ocfs2]
eax: 00000073 ebx: 00000000 ecx: 00000246 edx: 00000246
esi: 000002b2 edi: 00000000 ebp: c7fe0000 esp: efc31e30
ds: 007b es: 007b ss: 0068
Process cp (pid: 21224, threadinfo=efc31000 task=f7e37730)
Stack: 00000000 efc31ea0 00000001 f0cbf9c0 f5bf2000 f0cbfba0 000...
2009 Jun 16
0
[GIT PULL] ocfs2 updates for 2.6.31
...ate comments in masklog.h
Hisashi Hifumi (1):
ocfs2: fdatasync should skip unimportant metadata writeout
Jan Kara (5):
ocfs2: Fix possible deadlock in ocfs2_global_read_dquot()
ocfs2: Fix lock inversion in ocfs2_local_read_info()
ocfs2: Fix possible deadlock with quotas in ocfs2_setattr()
ocfs2: Fix possible deadlock in quota recovery
ocfs2: Correct ordering of ip_alloc_sem and localloc locks for directories
Joel Becker (1):
ocfs2: Add statistics for the checksum and ecc operations.
Srinivas Eeda (2):
ocfs2: timer to queue scan of all orphan slots
o...
2011 May 19
3
SEEK_DATA/HOLE on ocfs2 - v2
Two patches follow this message. One fixes the default implementation
of SEEK_HOLE/DATA. This patch applies atop Josef's last posted patch.
The second patch implements the same on ocfs2.
The test tool for the same is available here.
http://oss.oracle.com/~smushran/seek_data/seek_test.c
It is improved since the last post. It runs cleanly on zfs, ocfs2 and ext3
(default behavior). Users
2011 May 19
3
SEEK_DATA/HOLE on ocfs2 - v2
Two patches follow this message. One fixes the default implementation
of SEEK_HOLE/DATA. This patch applies atop Josef's last posted patch.
The second patch implements the same on ocfs2.
The test tool for the same is available here.
http://oss.oracle.com/~smushran/seek_data/seek_test.c
It is improved since the last post. It runs cleanly on zfs, ocfs2 and ext3
(default behavior). Users
2009 Feb 26
1
[PATCH 0/7] OCFS2 locking fixes and lockdep annotations
Hi,
the first four patches in this series fix locking problems in OCFS2 quota code (three of
them can lead to potential deadlocks). The fifth patch reorders ip_alloc_sem for directories
to be acquired before localalloc locks. Mark would you please merge these?
The last two patches implement lockdep annotations for OCFS2 cluster locks. We annotate all
the cluster locks except for special ones
2006 Jun 12
1
kernel BUG at /usr/src/ocfs2-1.2.1/fs/ocfs2/file.c:494!
...74xx generic parport_pc parport evdev serio_raw usbcore ohci1394 ieee1394 nvnet ide_core rtc floppy pcspkr snd_hda_intel snd_hda_codec snd_pcm snd_timer snd soundcore snd_page_alloc
CPU: 0
EIP: 0060:[<f95374f6>] Tainted: P VLI
EFLAGS: 00210286 (2.6.16.20ll-wbsrv #1)
EIP is at ocfs2_setattr+0x6a8/0x12cf [ocfs2]
eax: 00000073 ebx: 00000000 ecx: ffffffff edx: ffffff23
esi: 00000469 edi: 00000000 ebp: d3875000 esp: e1c31eb8
ds: 007b es: 007b ss: 0068
Process ix.cgi (pid: 16918, threadinfo=e1c30000 task=f26d5a90)
Stack: <0>00000000 00000000 00000000 c0cc5e08 f491e800...
2009 Jun 18
8
Patches backported from mainline
All,
Please review the patches backported to 1.4 from mainline.
Sunil
2009 Jun 02
10
[PATCH 0/7] [RESEND] Fix some deadlocks in quota code and implement lockdep for cluster locks
Hi,
I'm resending this patch series. It's rediffed against linux-next branch of
Joel's git tree. The first four patches are obvious fixes of deadlocks in quota
code and should go in as soon as possible. The other three patches implement
lockdep support for OCFS2 cluster locks. So you can have a look whether the
code make sence to you and possibly merge them. They should be NOP when
2008 Oct 17
3
[PATCH 0/3] ocfs2: add security EA and ACL support v3
Hi,
These three patches fix the problems in the version two.
And them base on the Tao's patches:
ocfs2/xattr: xattr improvement
The first patch fix some problem in xattr code.
The second patch add security EA support.
The third patch add ACL support.
Best regards,
tiger
2008 Sep 04
4
[PATCH 0/3] ocfs2: Switch over to JBD2.
ocfs2 currently uses the Journaled Block Device (JBD) for its
journaling. This is a very stable and tested codebase. However, JBD
is limited by architecture to 32bit block numbers. This means an ocfs2
filesystem is limited to 2^32 blocks. With a 4K blocksize, that's 16TB.
People want larger volumes.
Fortunately, there is now JBD2. JBD2 adds 64bit block number support
and some other
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
i_alloc_sem has always been a bit of an odd "lock". It''s the only remaining
rw_semaphore that can be released by a different thread than the one that
locked it, and it''s use case in the core direct I/O code is more like a
counter given that the writers already have external serialization.
This series removes it in favour of a simpler counter scheme, thus getting
rid
2008 Dec 22
56
[git patches] Ocfs2 patches for merge window, batch 2/3
Hi,
This is the second batch of Ocfs2 patches intended for the merge window. The
1st batch were sent out previously:
http://lkml.org/lkml/2008/12/19/280
The bulk of this set is comprised of Jan Kara's patches to add quota support
to Ocfs2. Many of the quota patches are to generic code, which I carried to
make merging of the Ocfs2 support easier. All of the non-ocfs2 patches
should have
2010 Jun 03
2
Tracking down hangs
...nd_get_pages+0x2f/0x6d
[79919.044313] [<ffffffff8042a439>] __down_read+0x87/0xa1
[79919.044328] [<ffffffffa03b59a1>] :ocfs2:ocfs2_start_trans+0xd3/0x1b5
[79919.044340] [<ffffffffa03937b6>] :ocfs2:ocfs2_truncate_inline+0x7f/0x2a9
[79919.044356] [<ffffffffa03abc2f>] :ocfs2:ocfs2_setattr+0x751/0x147f
[79919.044366] [<ffffffff802ae06b>] notify_change+0x174/0x301
[79919.044380] [<ffffffffa0484a90>] :nfsd:nfsd_setattr+0x35a/0x3fc
[79919.044393] [<ffffffffa048b287>] :nfsd:nfsd3_proc_setattr+0x8d/0x99
[79919.044403] [<ffffffffa0480245>] :nfsd:nfsd_dispatch+0x...