Displaying 20 results from an estimated 31 matches for "sysfile".
2009 Jun 18
1
[PATCH] ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.
Actually ocfs2_sysfile_cluster_lock_key is only used if we enable
CONFIG_DEBUG_LOCK_ALLOC. Wrap it so that we can avoid a building
warning.
fs/ocfs2/sysfile.c:53: warning: ?ocfs2_sysfile_cluster_lock_key?
defined but not used
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
fs/ocfs2/sysfile.c | 2 ++
1 files c...
2009 Jun 04
2
[PATCH 0/2] OCFS2 lockdep support
Hi,
here comes the next version of OCFS2 lockdep support. I've dropped patches
with fixes from the series since they were already merged.
As Joel suggested, I've simplified the main patch a bit so that we don't
have ifdefs around lock declarations and there are also a few other minor
improvements.
Honza
2008 Nov 14
0
[PATCH] tools: use sysfs interface to balloon driver if present
...;Xen hard limit'' }
- PROC_XEN_BALLOON = ''/proc/xen/balloon''
f = file(PROC_XEN_BALLOON, ''r'')
try:
for line in f:
@@ -61,6 +63,29 @@
return None
finally:
f.close()
+
+def _linux_balloon_stat_sysfs(label):
+ sysfiles = { ''target'' : ''target_kb'',
+ ''current'' : ''info/current_kb'',
+ ''low-balloon'' : ''info/low_kb'',
+ ''high-balloon'' :...
2013 Nov 26
3
[PATCH] Remove versioning information
...-------------
4 files changed, 78 deletions(-)
delete mode 100644 fs/ocfs2/ver.c
delete mode 100644 fs/ocfs2/ver.h
diff --git a/fs/ocfs2/Makefile b/fs/ocfs2/Makefile
index f17e58b..ce210d4 100644
--- a/fs/ocfs2/Makefile
+++ b/fs/ocfs2/Makefile
@@ -38,7 +38,6 @@ ocfs2-objs := \
symlink.o \
sysfile.o \
uptodate.o \
- ver.o \
quota_local.o \
quota_global.o \
xattr.o \
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index c414929..a4382d1 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -68,7 +68,6 @@
#include "super.h"
#include "sysfile.h"
#inclu...
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
2012 Dec 27
3
[PATCH] hostfile: list known names (if any) for new hostkeys
...ns(+), 26 deletions(-)
diff --git a/auth.c b/auth.c
index 7bc6f40..1ca07e1 100644
--- a/auth.c
+++ b/auth.c
@@ -379,7 +379,7 @@ check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host,
const struct hostkey_entry *found;
hostkeys = init_hostkeys();
- load_hostkeys(hostkeys, host, sysfile);
+ load_hostkeys(hostkeys, host, NULL, sysfile);
if (userfile != NULL) {
user_hostfile = tilde_expand_filename(userfile, pw->pw_uid);
if (options.strict_modes &&
@@ -393,7 +393,7 @@ check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host,
user_hostfile);...
2009 Jun 24
0
[GIT PULL] ocfs2 updates for 2.6.31, take 2
...ocfs2: Stop orphan scan as early as possible during umount
ocfs2: Do not initialize lvb in ocfs2_orphan_scan_lock_res_init()
ocfs2: Disable orphan scanning for local and hard-ro mounts
Tao Ma (2):
ocfs2: Update atime in splice read if necessary.
ocfs2/trivial: Wrap ocfs2_sysfile_cluster_lock_key within define.
fs/inode.c | 17 ++++--
fs/ocfs2/dlmglue.c | 123 ++++++++++++++++++++++++++++++++++-------------
fs/ocfs2/dlmglue.h | 24 +++++++--
fs/ocfs2/file.c | 6 +-
fs/ocfs2/inode.c | 11 ++++
fs/ocfs2/journal.c | 43 +...
2009 Aug 03
1
[PATCH] ocfs2: Handle quota file corruption more gracefully
...this fix? Thanks.
fs/ocfs2/quota_global.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/quota_global.c b/fs/ocfs2/quota_global.c
index d604a6a..8988d8b 100644
--- a/fs/ocfs2/quota_global.c
+++ b/fs/ocfs2/quota_global.c
@@ -23,6 +23,7 @@
#include "sysfile.h"
#include "dlmglue.h"
#include "uptodate.h"
+#include "super.h"
#include "quota.h"
static struct workqueue_struct *ocfs2_quota_wq = NULL;
@@ -114,6 +115,14 @@ int ocfs2_read_quota_block(struct inode *inode, u64 v_block,
int rc = 0;
struct buf...
2019 Apr 29
1
[RFC-PATCH] Introducing virtio-example.
...---------------------------------
+// driver functions
+//-----------------------------------------------------------------------------
+
+
+static int example_probe(struct virtio_device *vdev)
+{
+ int retval;
+ struct virtexample_info *vi = NULL;
+
+ /* create sysfiles for UI */
+ retval = sysfs_create_group(&vdev->dev.kobj, &example_attr_group);
+ if (retval) {
+ pr_alert("failed to create group in /sys/bus/virtio/devices/.../\n");
+ }
+
+ /* initialize driver data */
+ vi = kzalloc(sizeof(struct virtexample_info), GFP_KE...
2010 Oct 22
0
[GIT PULL] ocfs2 changes for 2.6.37
...s2/refcounttree.c | 43 +++-
fs/ocfs2/refcounttree.h | 7 +-
fs/ocfs2/slot_map.c | 2 +-
fs/ocfs2/stack_o2cb.c | 2 +
fs/ocfs2/suballoc.c | 16 +
fs/ocfs2/super.c | 163 +++++++++--
fs/ocfs2/sysfile.c | 60 +++-
fs/ocfs2/xattr.c | 2 +-
include/linux/fs.h | 2 +
39 files changed, 1894 insertions(+), 173 deletions(-)
2002 Jul 04
4
Chroot patch (v3.4p1)
The following is a patch I've been working on to support a "ChrootUser"
option in the sshd_config file.
I was looking for a way to offer sftp access and at the same time restict
interactive shell access. This patch is a necessary first step (IMO).
It applies clean with 'patch -l'.
Also attached is a shell script that helps to build a chrooted home dir on
a RedHat 7.2
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
2001 Nov 06
13
OpenSSH 3.0
OpenSSH 3.0 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
This release contains many portability bug-fixes (listed in the
ChangeLog) as well as several new features (listed below).
We would like to thank the
2002 Jan 23
0
[PATCH] Add multiple AuthorizedKeyFiles options
...keys_file, pw);
-}
-
-char *
-authorized_keys_file2(struct passwd *pw)
-{
- return expand_filename(options.authorized_keys_file2, pw);
+ if (n >= options.num_authorized_keys_files)
+ return NULL;
+ return expand_filename(options.authorized_keys_files[n], pw);
}
/* return ok if key exists in sysfile or userfile */
Index: auth.h
===================================================================
RCS file: /cvs/openssh/auth.h,v
retrieving revision 1.27
diff -u -r1.27 auth.h
--- auth.h 22 Jan 2002 12:11:02 -0000 1.27
+++ auth.h 23 Jan 2002 11:11:28 -0000
@@ -139,8 +139,7 @@
struct passwd * auth_...
2008 Jan 25
0
[git patches] ocfs2 and configfs updates
...fs/ocfs2/{vote.h => resize.h} | 32 +--
fs/ocfs2/slot_map.c | 19 -
fs/ocfs2/slot_map.h | 2 -
fs/ocfs2/suballoc.c | 20 +-
fs/ocfs2/suballoc.h | 8 +
fs/ocfs2/super.c | 140 ++++----
fs/ocfs2/sysfile.c | 2 +-
fs/ocfs2/ver.c | 2 +-
fs/ocfs2/vote.c | 756 -----------------------------------
include/linux/Kbuild | 1 +
include/linux/dlm.h | 140 +-------
include/linux/dlmconstants.h | 159...
2008 Jun 24
2
Invalid argument while mounting
...0
(11528,3):ocfs2_read_locked_inode:374 ERROR: Invalid dinode #0:
signature =
(11528,3):ocfs2_iget:131 ERROR: status = -116
(11528,3):ocfs2_iget:141 ERROR: status = -116
(11528,3):_ocfs2_get_system_file_inode:122 ERROR: status = -116
(11528,3):ocfs2_init_local_system_inodes:273 ERROR: status=-22,
sysfile=7, slot=0
(11528,3):ocfs2_mount_volume:1092 ERROR: status = -22
ocfs2: Unmounting device (8,49) on (node 0)
# uname -a
Linux panoramix.mweb.co.za 2.6.9-42.0.3.ELsmp #1 SMP Mon Sep 25 17:28:02
EDT 2006 i686 i686 i386 GNU/Linux
# rpm -qa | grep ocfs
ocfs2-tools-debuginfo-1.2.2-1
ocfs2-tools-devel...
2009 Jul 22
8
[PATCH 0/7] OCFS2 quota fixes (version 2)
Hi,
here is the second version of OCFS2 quota fixes with Joel's comments
fixed. Also I've added a patch defining counts of credits for quota
operations as Joel asked.
Honza
2010 Nov 03
2
[PATCH 1/2] Ocfs2: Add a new code 'OCFS2_INFO_FREEINODE' for o2info ioctl.
...hanged, 106 insertions(+), 0 deletions(-)
diff --git a/fs/ocfs2/ioctl.c b/fs/ocfs2/ioctl.c
index 7a48681..a60eaec 100644
--- a/fs/ocfs2/ioctl.c
+++ b/fs/ocfs2/ioctl.c
@@ -23,6 +23,7 @@
#include "ioctl.h"
#include "resize.h"
#include "refcounttree.h"
+#include "sysfile.h"
#include <linux/ext2_fs.h>
@@ -299,6 +300,96 @@ bail:
return status;
}
+int ocfs2_info_scan_inode_alloc(struct inode *inode_alloc,
+ struct ocfs2_info_freeinode *fi, __u32 slot)
+{
+ int status = 0, unlock = 0;
+
+ struct buffer_head *bh = NULL;
+ struct ocfs2_dinode *din...
2009 Jul 15
7
[PATCH 0/6] Quota fixes for 2.6.31-rc4
Hi,
I did some more in-depth testing of OCFS2 quota code, especially with ECC
feature enabled and spotted some problems. First four patches fix them.
I need the fifth patch to be able to mount OCFS2 filesystem with 2.6.31-rc3.
The sixth patch fixes a potential problem when quota syncing interval is
updated while the cluster is running (which is not possible currently).
Joel, could you please
2009 Mar 06
2
[PATCH 1/1] OCFS2: anti stale inode for nfs (for 1.4git)
...x);
int ocfs2_file_lock(struct file *file, int ex, int trylock);
diff --git a/fs/ocfs2/export.c b/fs/ocfs2/export.c
index 649f3c8..e2db2a0 100644
--- a/fs/ocfs2/export.c
+++ b/fs/ocfs2/export.c
@@ -38,6 +38,8 @@
#include "inode.h"
#include "buffer_head_io.h"
+#include "sysfile.h"
+#include "suballoc.h"
struct ocfs2_inode_handle
{
@@ -49,34 +51,91 @@ static struct dentry *ocfs2_get_dentry(struct super_block *sb, void *vobjp)
{
struct ocfs2_inode_handle *handle = vobjp;
struct inode *inode;
+ struct ocfs2_super *osb = OCFS2_SB(sb);
+ u64 blkno = han...