[Bug 213396] official FreeBSD vm image not runing on openstack

2016-12-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213396

Glen Barber  changed:

   What|Removed |Added

 Depends on||215258
   Assignee|freebsd-virtualization@Free |r...@freebsd.org
   |BSD.org |


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215258
[Bug 215258] Update openstack.conf options
-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Re-sparse a file-backed IO device + zfs

2016-12-13 Thread Adam Vande More
On Mon, Dec 12, 2016 at 7:20 PM, javocado  wrote:

> Hi,
>
> I'm setting up a bhyve wherein:
>
> host #  truncate -s 1T vol.file
> host #  du -ah vol.file
> 200Kvol.file
>
> host #  /usr/sbin/bhyve ... -s 4,ahci-hd,vol.file ...
>
> Then inside the bhyve I create a zpool (ada0 = vol.file):
>
> bhyve #  zpool create -O devices=off -O atime=off -O compression=on -m
> /mnt/data1 data1 ada0
>

I think there used to be a utility called sparsify.



-- 
Adam
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: Query about bhyve's blockif_cancel and the signalling mechanisms

2016-12-13 Thread Tycho Nightingale

Hi,

On Dec 13, 2016, at 1:32 AM, Peter Grehan  wrote:

> Hi Ian,
> 
>> To recap my understanding of the mechanisms at work (glossing over the
>> queue handling and condvars involved etc), the bhyve block_if
>> infrastructure registers a callback for SIGCONT with the mevent
>> subsystem, which is a kevent/kqueue thing which delivers events to the
>> main thread (mevent_dispatch is the last thing in main()) it also sets
>> SIGCONT to SIG_IGN.
> 
> That's correct. The intent was to have the signal delivered via the kevent 
> callback rather than standard signal delivery.
> 
>> When a disk controller device model wants to
>> cancel a block request (e.g. in ahci_port_stop) it calls
>> blockif_cancel which sends a SIGCONT to the blkio thread which has
>> claimed the request, notionally to kick it out of whatever blocking
>> system call it is in and cause it to return an error to the device
>> model.
> 
> Yep, that's correct.
> 
>> The main thing I do not follow is whether or not the blkio thread is
>> actually interrupted at all when the signal has been configured to be
>> delivered via the kevent/kqueue mechanisms to a 3rd unrelated thread.
> 
> It is interrupted on FreeBSD.
> 
>> I've dug around in the FreeBSD kevent and signal man pages but I
>> cannot find any part which describes anything of the semantics which
>> bhyve seems to be relying on (which seems to be that the system call
>> in the target thread will return EINTR at some point before the thread
>> which is "handling" the signal via kevent/kqueue sees that event).
>> 
>> Have I missed something here or is bhyve relying on some subtle
>> underlying semantics?
> 
> I didn't think it too FreeBSD-specific - if a thread is blocked in a system 
> call, sending a signal should force it to exit on most Unices.
> 
>> I have a secondary concern which is what happens if the IO thread is
>> on its way to making a blocking system call in blockif_proc but has
>> not actually done so when the signal is delivered. It seems like it
>> would simply carry on and make the blocking call with perhaps
>> unexpected consequences (i/o getting wedged, perhaps only until a
>> second reset attempt). I've not actually seen this happening though
>> and there's a chance I'm simply over thinking things after staring at
>> them for so long!
> 
> I believe this case is handled - I discussed this at length with Tycho when 
> the code was committed a while back.
> 
> Tycho - any thoughts ?

ahci_port_stop() is called under the protection the port soft-state lock so 
that will stem any further requests from landing in the blockif queue.  That’s 
the easy case.

As for blockif requests which are queued, those are simply completed.  The ones 
that are in-flight all have their status set to BST_BUSY when they are moved 
from the pending queue to the busy queue just prior to being sent to 
blockif_proc().  It’s therefore possible that an in-flight request (one on the 
busy list) has yet to call blockif_proc(), or is already inside blockif_proc() 
or has just completed blockif_proc().  In all cases however BST_BUSY is cleared 
in blockif_complete().  The key is therefore that regardless of where the 
thread is, blockif_cancel() will continue to issue pthread_kill() until the 
request reaches blockif_complete() — breaking it out of system calls as 
necessary.

Does that make sense?

Tycho
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Telephone System Quotes for Charlie's Choice

2016-12-13 Thread Amy Brown

Hi,

My name is Amy and I’m with GetVoip.click offering Charlie's Choice
the best current deals offered by telephone companies. VoIP (Voice Over
Internet Protocol) is a technology that utilizes the Internet to make
local and International phone calls significantly lowering your
communication costs. They are central to maintaining both internal
communications between colleagues and providing a consistent external
line for your customers.

The following information will be needed in order to compose a Quote:

Full Name
Company Name
Phone number
Zip
Number of users

Visit GetVoip.click for a quick no-obligation quote.

Best regards,
Amy Brown
Amy@GetVoip.click
www.GetVoip.click

http://www.GetVoip.click/default.aspx?c=Charlie's Choice=(912)
383-4995===31534=freebsd-virtualization@freebsd.org_source=is_medium=email_campaign=ZO22


(http://www.GetVoip.click/unsubscribe.aspx?e=freebsd-virtualization@freebsd.org)
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"