search for: l322

Displaying 10 results from an estimated 10 matches for "l322".

Did you mean: 322
2013 Oct 23
1
Re: [PATCH 1/2] Preallocate output file
...ated to your patch, > but I don't think you can set a flag like this. > These are rather operations that need to be done > while writing I think. > > For ref I made the above call after writing various chunks to disk in: > https://github.com/pixelb/dvd-vr/blob/master/dvd-vr.c#L322 > and also dd: > http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=5f31155 This does explain why the posix_fadvise call has no effect. How about POSIX_FADV_RANDOM? I would have thought that should be done before the write operations ... > BTW dd has this as an option, and...
2013 Oct 22
2
[PATCH 1/2] Preallocate output file
--- pxzcat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pxzcat.c b/pxzcat.c index 4ab8689..9bcdc36 100644 --- a/pxzcat.c +++ b/pxzcat.c @@ -29,10 +29,11 @@ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ +#define _GNU_SOURCE #include <config.h>
2015 Oct 10
1
R CMD check --as-cran without qpdf
...existence only when it matters. I have attached a patch (untested) that could serve as a starting point. The code links correspond to SVN revision 69500. Thanks. Best regards Kirill [1] https://github.com/wch/r-source/blob/f42ee5e7ecf89a245afd6619b46483f1e3594ab7/src/library/tools/R/check.R#L322-L326, [2] https://github.com/wch/r-source/blob/f42ee5e7ecf89a245afd6619b46483f1e3594ab7/src/library/tools/R/check.R#L4426-L4428 -------------- next part -------------- A non-text attachment was scrubbed... Name: qpdf-missing.patch Type: text/x-patch Size: 2145 bytes Desc: not available URL: <...
2013 Oct 23
0
Re: [PATCH 1/2] Preallocate output file
...D); I know this isn't related to your patch, but I don't think you can set a flag like this. These are rather operations that need to be done while writing I think. For ref I made the above call after writing various chunks to disk in: https://github.com/pixelb/dvd-vr/blob/master/dvd-vr.c#L322 and also dd: http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commit;h=5f31155 BTW dd has this as an option, and dvd-vr is a specialized tool often handling large files, so in both these cases FADV_DONTNEED is appropriate. If pxzcat will always be used for virt images then that does seem appr...
2019 Oct 24
2
[PATCH v2] vhost: introduce mdev based hardware backend
On 2019/10/24 ??4:03, Jason Wang wrote: > > On 2019/10/24 ??12:21, Tiwei Bie wrote: >> On Wed, Oct 23, 2019 at 06:29:21PM +0800, Jason Wang wrote: >>> On 2019/10/23 ??6:11, Tiwei Bie wrote: >>>> On Wed, Oct 23, 2019 at 03:25:00PM +0800, Jason Wang wrote: >>>>> On 2019/10/23 ??3:07, Tiwei Bie wrote: >>>>>> On Wed, Oct 23, 2019 at
2019 Oct 24
2
[PATCH v2] vhost: introduce mdev based hardware backend
On 2019/10/24 ??4:03, Jason Wang wrote: > > On 2019/10/24 ??12:21, Tiwei Bie wrote: >> On Wed, Oct 23, 2019 at 06:29:21PM +0800, Jason Wang wrote: >>> On 2019/10/23 ??6:11, Tiwei Bie wrote: >>>> On Wed, Oct 23, 2019 at 03:25:00PM +0800, Jason Wang wrote: >>>>> On 2019/10/23 ??3:07, Tiwei Bie wrote: >>>>>> On Wed, Oct 23, 2019 at
2019 Oct 24
0
[PATCH v2] vhost: introduce mdev based hardware backend
...already have VHOST_SET_OWNER in vhost now, parent can handle the commands in its .kick_vq() which is called by vq's .handle_kick callback. Virtio-user did something similar: https://github.com/DPDK/dpdk/blob/0da7f445df445630c794897347ee360d6fe6348b/drivers/net/virtio/virtio_user_ethdev.c#L313-L322 > > > > But is there any chance to use DMA address? I'm asking since the API > > then tends to be device specific. > > > I wonder whether we can introduce MAP IOMMU notifier and get DMA mappings > from that. I think this will complicate things unnecessarily a...
2019 Oct 24
2
[PATCH v2] vhost: introduce mdev based hardware backend
..._SET_OWNER in vhost now, parent can handle > the commands in its .kick_vq() which is called by vq's .handle_kick > callback. Virtio-user did something similar: > > https://github.com/DPDK/dpdk/blob/0da7f445df445630c794897347ee360d6fe6348b/drivers/net/virtio/virtio_user_ethdev.c#L313-L322 This probably means a process context is required, something like kthread that is used by vhost which seems a burden for parent. Or we can extend ioctl to processing kick in the system call context. > >> >>> But is there any chance to use DMA address? I'm asking since th...
2019 Oct 24
2
[PATCH v2] vhost: introduce mdev based hardware backend
..._SET_OWNER in vhost now, parent can handle > the commands in its .kick_vq() which is called by vq's .handle_kick > callback. Virtio-user did something similar: > > https://github.com/DPDK/dpdk/blob/0da7f445df445630c794897347ee360d6fe6348b/drivers/net/virtio/virtio_user_ethdev.c#L313-L322 This probably means a process context is required, something like kthread that is used by vhost which seems a burden for parent. Or we can extend ioctl to processing kick in the system call context. > >> >>> But is there any chance to use DMA address? I'm asking since th...
2006 Jan 17
15
legacy database and finder_sql nightmare!
This is my first rails app with a legacy database and I''m having a terrible time getting the models set up correctly. I have an order table that has a primary field named order_number. I have a name table with a primary of item_number. These two tables are liked by the item_number and the order_number, but not as you might think. If the order_number is 2500, then each entry in