From: Zhigang Wang <zhigang.x.wang@oracle.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: First release candidate for 3.1.3
Date: Thu, 24 Jan 2008 11:02:05 +0800 [thread overview]
Message-ID: <4797FFAD.3080007@oracle.com> (raw)
In-Reply-To: <C3B660F8.1B03B%Keir.Fraser@cl.cam.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
Keir Fraser wrote:
> Now that 3.2.0 is released, it seems a good time to bundle up all the bug
> fixes from that release effort for 3.1 branch. I've backported everything I
> think is appropriate and I've tagged 3.1.3-rc1. This is in the staging tree
> and will move to the main tree after automated testing has finished.
>
> Please test!
>
> -- Keir
>
Keir,
would please pull in xen-3.2-testing changeset: 16330:fbe7ed173314 and
16642:643ab64d12d5 (block script enhancement, add losetup -r support) into
xen-3.1.3?
or you can just apply the attached patch.
thanks,
zhigang
[-- Attachment #2: block-losetup-readonly.patch --]
[-- Type: text/x-patch, Size: 814 bytes --]
block script enhancement: make use of the -r option of losetup for looping
back images on readonly nfs.
xen-3.2-testing changeset: 16330:fbe7ed173314 and 16642:643ab64d12d5
--- xen-3.1-testing/tools/examples/block.orig 2008-01-24 10:14:13.000000000 +0800
+++ xen-3.1-testing/tools/examples/block 2008-01-24 10:15:40.000000000 +0800
@@ -367,7 +367,13 @@
fatal 'Failed to find an unused loop device'
fi
- do_or_die losetup "$loopdev" "$file"
+ if LANG=C losetup -h 2>&1 | grep read-only >/dev/null
+ then
+ roflag="-$mode"; roflag="${roflag#-w}"
+ else
+ roflag=''
+ fi
+ do_or_die losetup $roflag "$loopdev" "$file"
xenstore_write "$XENBUS_PATH/node" "$loopdev"
write_dev "$loopdev"
release_lock "block"
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
prev parent reply other threads:[~2008-01-24 3:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 13:58 First release candidate for 3.1.3 Keir Fraser
2008-01-24 3:02 ` Zhigang Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4797FFAD.3080007@oracle.com \
--to=zhigang.x.wang@oracle.com \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.