search for: dev_str

Displaying 15 results from an estimated 15 matches for "dev_str".

Did you mean: def_str
2010 Jan 29
0
[PATCH 3/3] ocfs2:freeze-thaw: make it work -v2
..., 50); + if (ret == -EBUSY) { + /* We suppose when it returns -EBUSY when timeout is hit. + * Change me if it's not. + */ + goto wait_thaw; + } else if (ret) { + mlog(ML_ERROR, "Getting PR on freeze_lock failed," + "but going to thaw block device %s\n", osb->dev_str); + } else { + do_unlock = 1; + } + +thaw_dev: + ret = thaw_bdev(osb->sb->s_bdev, osb->sb); + if (ret) { + /* this shouldn't happen */ + mlog_errno(ret); + printk(KERN_WARNING "ocfs2: Thawing %s failed\n", osb->dev_str); + } + + ocfs2_clear_osb_flag(osb, OCFS2_OSB_FROZ...
2008 Oct 08
8
[PATCH] dom0 linux: Reassign memory resources to device for pci passthrough.
...ic int __init reassigndev_setup(char *str) +{ + strncpy(param_reassigndev, str, REASSIGNDEV_PARAM_MAX); + param_reassigndev[REASSIGNDEV_PARAM_MAX - 1] = ''\0''; + return 1; +} +__setup("reassigndev=", reassigndev_setup); + +int is_reassigndev(struct pci_dev *dev) +{ + char dev_str[TOKEN_MAX+1]; + int seg, bus, slot, func; + int len; + char *p, *next_str; + + p = param_reassigndev; + for (; p; p = next_str + 1) { + next_str = strpbrk(p, ","); + if (next_str) { + len = next_str - p; + } else { + len = strlen(p); + } + if (len > 0 && len <= TOKE...
2009 Mar 11
1
[PATCH] ocfs2: Fix a bug found by sparse check.
..._bug_on_msg(!ocfs2_sparse_alloc(osb) && - (OCFS2_I(inode)->ip_clusters != rec->e_cpos), + (OCFS2_I(inode)->ip_clusters != + le32_to_cpu(rec->e_cpos)), "Device %s, asking for sparse allocation: inode %llu, " "cpos %u, clusters %u\n", osb->dev_str, -- 1.6.2.rc2.16.gf474c
2007 Apr 11
2
Error: Device 0 (vkbd) is already connected.
...thon/xen/xend/XendDomainInfo.py", line 1292, in _createDevice return self.getDeviceController(deviceClass).createDevice(devConfig) File "//usr/lib/python/xen/xend/server/DevController.py", line 111, in createDevice raise VmError("Device %s is already connected." % dev_str) VmError: Device 0 (vkbd) is already connected. My domain config file has the following options to enable vfb: vfb = [ ''type=vnc, vnclisten=0.0.0.0, vncunused=1'' ] extra = "console=ttyS0 xencons=ttyS video=xenfb" Is anyone able to make this work reliably more than onc...
2009 Jan 06
1
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...must be taken * into account when designing an access scheme. We allow a small @@ -297,6 +300,7 @@ struct ocfs2_super struct ocfs2_dinode *local_alloc_copy; struct ocfs2_quota_recovery *quota_rec; + struct ocfs2_blockcheck_stats osb_ecc_stats; struct ocfs2_alloc_stats alloc_stats; char dev_str[20]; /* "major,minor" of the device */ diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 43ed113..518b08a 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -118,10 +118,12 @@ static void ocfs2_release_system_inodes(struct ocfs2_super *osb); static int ocfs2_check_volume(str...
2009 Apr 30
0
[PATCH] ocfs2: Add statistics for the checksum and ecc operations.
...must be taken * into account when designing an access scheme. We allow a small @@ -295,6 +298,7 @@ struct ocfs2_super struct ocfs2_dinode *local_alloc_copy; struct ocfs2_quota_recovery *quota_rec; + struct ocfs2_blockcheck_stats osb_ecc_stats; struct ocfs2_alloc_stats alloc_stats; char dev_str[20]; /* "major,minor" of the device */ diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 79ff8d9..bed01d2 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c @@ -118,10 +118,12 @@ static void ocfs2_release_system_inodes(struct ocfs2_super *osb); static int ocfs2_check_volume(str...
2008 Mar 03
1
Live migration problem with xen 3.2
.../XendDomainInfo.py", line 1478, in _createDevice return self.getDeviceController(deviceClass).createDevice(devConfig) File "/usr/lib/xen-3.2-1/lib/python/xen/xend/server/DevController.py", line 113, in createDevice raise VmError("Device %s is already connected." % dev_str) VmError: Device sda1 (2049, vbd) is already connected. [2008-03-03 10:12:52 15205] DEBUG (XendDomainInfo:1952) XendDomainInfo.resumeDomain: completed [2008-03-03 10:12:52 15205] DEBUG (XendCheckpoint:144) XendCheckpoint.save: resumeDomain ---- On the destination node, the log does not show any er...
2009 Jun 21
1
Xen LVM DRBD live migration
...mainInfo.py", line 1202, in createDevice return self.getDeviceController(deviceClass).createDevice(devconfig) File "/usr/lib64/python2.4/site-packages/xen/xend/server/DevController.py", line 106, in createDevice raise VmError("Device %s is already connected." % dev_str) VmError: Device xvda (51712, vbd) is already connected. [2009-06-21 11:35:44 xend 4686] DEBUG (XendCheckpoint:136) XendCheckpoint.save: resumeDomain [2009-06-21 11:35:44 xend.XendDomainInfo 4686] INFO (XendDomainInfo:1790) Dev 51712 still active, looping... [2009-06-21 11:35:44 xend.XendDomain...
2008 Sep 11
4
Some more debug stuff
Added two debugfs entries... one to dump o2hb livenodes and the other to dump osb. $ cat /sys/kernel/debug/ocfs2/BC4F4550BEA74F92BDCC746AAD2EC0BF/fs_state Device => Id: 8,65 Uuid: BC4F4550BEA74F92BDCC746AAD2EC0BF Gen: 0xA02024F2 Label: sunil-xattr Volume => State: 1 Flags: 0x0 Sizes => Block: 4096 Cluster: 4096 Features => Compat: 0x1 Incompat: 0x350 ROcompat: 0x1
2010 Oct 08
23
O2CB global heartbeat - hopefully final drop!
All, This is hopefully the final drop of the patches for adding global heartbeat to the o2cb stack. The diff from the previous set is here: http://oss.oracle.com/~smushran/global-hb-diff-2010-10-07 Implemented most of the suggestions provided by Joel and Wengang. The most important one was to activate the feature only at the end, Also, got mostly a clean run with checkpatch.pl. Sunil
2008 Apr 02
10
[PATCH 0/62] Ocfs2 updates for 2.6.26-rc1
The following series of patches comprises the bulk of our outstanding changes for Ocfs2. Aside from the usual set of cleanups and fixes that were inappropriate for 2.6.25, there are a few highlights: The '/sys/o2cb' directory has been moved to '/sys/fs/o2cb'. The new location meshes better with modern sysfs layout. A symbolic link has been placed in the old location so as to
2009 Apr 17
26
OCFS2 1.4: Patches backported from mainline
Please review the list of patches being applied to the ocfs2 1.4 tree. All patches list the mainline commit hash. Thanks Sunil
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from struct inode. They are currently tied together pretty tightly. Metadata reads happen via the ocfs2_read_blocks() functions, writes via both jbd2 and ocfs2_write_blocks(). - Each inode has a cache of associated metadata blocks stored on its ip_metadata_cache member. The ocfs2_read/write_blocks() functions take a struct
2009 Mar 17
33
[git patches] Ocfs2 updates for 2.6.30
Hi, The following patches comprise the bulk of Ocfs2 updates for the 2.6.30 merge window. Aside from larger, more involved fixes, we're adding the following features, which I will describe in the order their patches are mailed. Sunil's exported some more state to our debugfs files, and consolidated some other aspects of our debugfs infrastructure. This will further aid us in debugging
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