Displaying 20 results from an estimated 25 matches for "block_dev".
2006 Apr 28
2
kernel panic - spin_lock
Guys,
one of our boxes just died with the following error:
kernel panic - not syncing: fs/block_dev.c:396: spin_lock
(fs/block_dev.c:c0361c0) already locked by fs/block_dev.c/287.
The system's an LVS running CentOS 4.3:
centos-release-4-3.2
kernel-2.6.9-34.EL
ipvsadm-1.24-6
heartbeat-1.2.3.cvs.20050927-1.centos4
I note that there's a bug report filed related to CentOS 4.2:
http://bugs...
2009 Jul 10
0
[PATCH node] This is a follow-on patch for bz#507455.
...vices sizes
+
for d in $udi_list; do
+ debug "Examining $d"
local drive_type=$(hal-get-property --udi "$d" --key storage.drive_type)
+ debug "::drive_type=$drive_type"
test "X$drive_type" = Xdisk || continue
local block_dev=$(hal-get-property --udi "$d" --key block.device)
- # Must start with a '/'.
- case $block_dev in
- *' '*)
- # we use space as separator
- warn "block device name '$block_dev' contains space; skipping"...
2009 Jul 01
1
Replacement patch for bz#507455
This patch includes a fix to no longer list devices with 0 bytes
of storage, such as removeable media devices with no media present.
2020 Sep 01
10
remove revalidate_disk()
Hi Jens,
this series removes the revalidate_disk() function, which has been a
really odd duck in the last years. The prime reason why most people
use it is because it propagates a size change from the gendisk to
the block_device structure. But it also calls into the rather ill
defined ->revalidate_disk method which is rather useless for the
callers. So this adds a new helper to just propagate the size, and
cleans up all kinds of mess around this area. Follow on patches
will eventuall kill of ->revalidate_disk e...
2019 Jul 24
1
[PATCH 03/12] block: bio_release_pages: use flags arg instead of bool
...t.
Cc: Christoph Hellwig <hch at infradead.org>
Cc: J?r?me Glisse <jglisse at redhat.com>
Cc: Minwoo Im <minwoo.im.dev at gmail.com>
Cc: Jens Axboe <axboe at kernel.dk>
Signed-off-by: John Hubbard <jhubbard at nvidia.com>
---
block/bio.c | 12 ++++++------
fs/block_dev.c | 4 ++--
fs/direct-io.c | 2 +-
include/linux/bio.h | 13 ++++++++++++-
4 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/block/bio.c b/block/bio.c
index 299a0e7651ec..7675e2de509d 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -833,7 +833,7 @@ int bio_add_page(struct b...
2010 May 13
1
Non-functional replacement...
This patch just includes the repo name in the subject.
2010 May 13
0
[PATCH] Replace the HAL calls with udev/systool calls.
...ces detected"
- return 1
- fi
+ local devices=""
- local d devices sizes
- for d in $udi_list; do
- local drive_type=$(hal-get-property --udi "$d" --key storage.drive_type)
- test "X$drive_type" = Xdisk || continue
- local block_dev=$(hal-get-property --udi "$d" --key block.device)
- # Must start with a '/'.
- case "$block_dev" in
- *' '*)
- # we use space as separator
- warn "block device name '$block_dev' contains space; s...
2010 May 14
3
Replacement patch...
This one incorporates feedback from mburns and apevec to ensure
that all multipath devices are excluded in the list of available
drives.
Only drives with an identified bus are included in the list now.
2006 Jul 03
1
Problem with CentOS 4.3 on kernel and ipvsadm
I have installed two CentOS 4.3 boxes with LVS (from
http://mirror.centos.org/centos/4/csgfs/ ) but all boxes died withe this
error frequently:
kernel panic - not syncing: fs/block_dev.c:396: spin_lock
(fs/block_dev.c:c0361c0) already locked by fs/block_dev.c/287.
I have read from this thread http://threebit.net/mail-archive/centos/msg00243.html that this is an unsolved problem.
So i have installed the kernel-2.6.9-39.EL from testing repo, but the box diedi with another error:...
2011 Jan 04
16
[PATCH v2 0/5] add new ioctls to do metadata readahead in btrfs
Hi,
We have file readahead to do asyn file read, but has no metadata
readahead. For a list of files, their metadata is stored in fragmented
disk space and metadata read is a sync operation, which impacts the
efficiency of readahead much. The patches try to add meatadata readahead
for btrfs.
In btrfs, metadata is stored in btree_inode. Ideally, if we could hook
the inode to a fd so we could use
2019 Jul 25
0
[PATCH 00/12] block/bio, fs: convert put_page() to put_user_page*()
...ck: bio_release_pages: use flags arg instead of bool
> fs/ceph: fix a build warning: returning a value from void function
>
> J?r?me Glisse (9):
> iov_iter: add helper to test if an iter would use GUP v2
> block: bio_release_pages: convert put_page() to put_user_page*()
> block_dev: convert put_page() to put_user_page*()
> fs/nfs: convert put_page() to put_user_page*()
> vhost-scsi: convert put_page() to put_user_page*()
> fs/cifs: convert put_page() to put_user_page*()
> fs/fuse: convert put_page() to put_user_page*()
> fs/ceph: convert put_page() to...
2009 Oct 01
1
Repost of Patch 6/6 for ovirt-node
All other patches from the sequence remain unchanged. Repost of patch 6 based on comments from Joey to follow.
Mike
2010 Feb 04
3
[PATCH] Make configure_from_network function check if network is up, before touching it
This patch adds a safety verification to configure_from_network function, where network configuration will not be performed if it is already up and running, preventing lost of communication for connections already established.
Signed-off-by: Ricardo Marin Matinata <matinata at br.ibm.com>
---
scripts/ovirt-early | 9 ++++++---
scripts/ovirt-functions | 7 +++++++
2 files changed,
2010 Mar 31
1
[PATCH node] Handle space in storage wwid
...ot; ]; then
+ if [ -b "$(readlink -f "$device")" ]; then
eval $return_var="$manual_device"
return 0
fi
@@ -273,7 +273,7 @@ get_dev_name()
test "X$drive_type" = Xdisk || continue
local block_dev=$(hal-get-property --udi "$d" --key block.device)
# Must start with a '/'.
- case $block_dev in
+ case "$block_dev" in
*' '*)
# we use space as separator
warn "block device name '$bloc...
2019 Jul 24
20
[PATCH 00/12] block/bio, fs: convert put_page() to put_user_page*()
..._user_pages_dirty_lock()
block: bio_release_pages: use flags arg instead of bool
fs/ceph: fix a build warning: returning a value from void function
J?r?me Glisse (9):
iov_iter: add helper to test if an iter would use GUP v2
block: bio_release_pages: convert put_page() to put_user_page*()
block_dev: convert put_page() to put_user_page*()
fs/nfs: convert put_page() to put_user_page*()
vhost-scsi: convert put_page() to put_user_page*()
fs/cifs: convert put_page() to put_user_page*()
fs/fuse: convert put_page() to put_user_page*()
fs/ceph: convert put_page() to put_user_page*()
9p/ne...
2019 Jul 24
20
[PATCH 00/12] block/bio, fs: convert put_page() to put_user_page*()
..._user_pages_dirty_lock()
block: bio_release_pages: use flags arg instead of bool
fs/ceph: fix a build warning: returning a value from void function
J?r?me Glisse (9):
iov_iter: add helper to test if an iter would use GUP v2
block: bio_release_pages: convert put_page() to put_user_page*()
block_dev: convert put_page() to put_user_page*()
fs/nfs: convert put_page() to put_user_page*()
vhost-scsi: convert put_page() to put_user_page*()
fs/cifs: convert put_page() to put_user_page*()
fs/fuse: convert put_page() to put_user_page*()
fs/ceph: convert put_page() to put_user_page*()
9p/ne...
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated.
These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated.
Mike
2019 Mar 14
1
[PATCH 00/38] VFS: Convert trivial filesystems and more
...cxl_hw.c | 21 +-
drivers/usb/gadget/legacy/inode.c | 21 +-
drivers/virtio/virtio_balloon.c | 19 +-
drivers/xen/xenfs/super.c | 21 +-
fs/aio.c | 15 +
fs/anon_inodes.c | 12 +
fs/binfmt_misc.c | 20 +-
fs/block_dev.c | 14 +
fs/btrfs/tests/btrfs-tests.c | 13 +
fs/configfs/mount.c | 20 +-
fs/efivarfs/super.c | 20 +-
fs/fuse/control.c | 20 +-
fs/libfs.c | 91 ++++++--
fs/nfsd/nfsctl.c...
2010 May 07
6
[PATCH 1/5] fs: allow short direct-io reads to be completed via buffered IO V2
V1->V2: Check to see if our current ppos is >= i_size after a short DIO read,
just in case it was actually a short read and we need to just return.
This is similar to what already happens in the write case. If we have a short
read while doing O_DIRECT, instead of just returning, fallthrough and try to
read the rest via buffered IO. BTRFS needs this because if we encounter a
compressed or
2019 Mar 27
1
[RFC PATCH 00/68] VFS: Convert a bunch of filesystems to the new mount API
...| 15 -
fs/anon_inodes.c | 12
fs/autofs/autofs_i.h | 13 -
fs/autofs/init.c | 9
fs/autofs/inode.c | 429 ++++++++++--------
fs/binfmt_misc.c | 20 +
fs/block_dev.c | 14 -
fs/btrfs/tests/btrfs-tests.c | 13 -
fs/ceph/cache.c | 9
fs/ceph/cache.h | 5
fs/ceph/super.c | 697 ++++++++++++++---------------
fs/ceph/super.h...