search for: 2246,7

Displaying 20 results from an estimated 33 matches for "2246,7".

2010 Nov 19
5
[PATCH 1/1] Ocfs2: Teach 'coherency=full' O_DIRECT writes to correctly up_read i_alloc_sem.
Former logic of ocfs2_file_aio_write() was a bit stricky to unlock the rw_lock and i_alloc_sem, by using some private bits in struct 'iocb' to communite with ocfs2_dio_end_io(), it did work before we introduce the patch of supporting 'coherency=full,buffered' option, since rw_lock and i_alloc_sem were never acquired both at the same time, no mattar we doing buffered or direct IO or
2012 Feb 13
1
Cross-subvolume reflink copy (BTRFS_IOC_CLONE over subvolume boundaries)
It''s been nearly a year since the patches needed to implement a reflinked copy between subvolumes have been posted (http://permalink.gmane.org/gmane.comp.file-systems.btrfs/9865 ) and I still get "Invalid cross-device link" error with Linux 3.2.4 while I try to do a cp --reflink between subvolumes. This is a *very* useful feature to have (think offline file-level
2024 Jan 22
2
[PATCH] mm: Remove double faults once write a device pfn
...*/ > vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr, > - unsigned long pfn, pgprot_t pgprot) > + unsigned long pfn, pgprot_t pgprot, bool mkwrite) > { > /* > * Technically, architectures with pte_special can avoid all these > @@ -2246,7 +2247,7 @@ vm_fault_t vmf_insert_pfn_prot(struct vm_area_struct *vma, unsigned long addr, > track_pfn_insert(vma, &pgprot, __pfn_to_pfn_t(pfn, PFN_DEV)); > > return insert_pfn(vma, addr, __pfn_to_pfn_t(pfn, PFN_DEV), pgprot, > - false); > + mkwrite); > } >...
2024 Jan 24
1
[PATCH] mm: Remove double faults once write a device pfn
...unsigned long pfn, pgprot_t pgprot, bool >> >>>>> + mkwrite) >> >>>>> { >> >>>>> /* >> >>>>> * Technically, architectures with pte_special can avoid all >> >>>>> these @@ -2246,7 +2247,7 @@ vm_fault_t >> vmf_insert_pfn_prot(struct >> >>>> vm_area_struct *vma, unsigned long addr, >> >>>>> track_pfn_insert(vma, &pgprot, __pfn_to_pfn_t(pfn, >> >>>>> PFN_DEV)); >> >>>>> >> &...
2024 Jan 23
2
[PATCH] mm: Remove double faults once write a device pfn
...addr, >>> - unsigned long pfn, pgprot_t pgprot) >>> + unsigned long pfn, pgprot_t pgprot, bool mkwrite) >>> { >>> /* >>> * Technically, architectures with pte_special can avoid all these >>> @@ -2246,7 +2247,7 @@ vm_fault_t vmf_insert_pfn_prot(struct >> vm_area_struct *vma, unsigned long addr, >>> track_pfn_insert(vma, &pgprot, __pfn_to_pfn_t(pfn, PFN_DEV)); >>> >>> return insert_pfn(vma, addr, __pfn_to_pfn_t(pfn, PFN_DEV), pgprot, >>> -...
2024 Jan 24
2
[PATCH] mm: Remove double faults once write a device pfn
...t pgprot) >>>>> + unsigned long pfn, pgprot_t pgprot, bool >>>>> + mkwrite) >>>>> { >>>>> /* >>>>> * Technically, architectures with pte_special can avoid all >>>>> these @@ -2246,7 +2247,7 @@ vm_fault_t vmf_insert_pfn_prot(struct >>>> vm_area_struct *vma, unsigned long addr, >>>>> track_pfn_insert(vma, &pgprot, __pfn_to_pfn_t(pfn, PFN_DEV)); >>>>> >>>>> return insert_pfn(vma, addr, __pfn_to_pfn_t(pfn,...
2013 Nov 21
1
[PATCH] suggestions for R-lang manual
...h. If a @@ -1865,7 +1861,7 @@ @example x[3:5] <- 13:15 @end example -The result of this commands is as if the following had been executed +The result of this command is as if the following had been executed @example `*tmp*` <- x x <- "[<-"(`*tmp*`, 3:5, value=13:15) @@ -2246,7 +2242,7 @@ this is not given a name it is referred to as an @cindex function, anonymous anonymous -function. Anonymous functions are most frequently used as arguments +function. Anonymous functions are most frequently used as arguments to other functions such as the @code{apply} family or @co...
2007 Apr 04
0
Branch 'as' - 9 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_stack.c libswfdec/swfdec_as_stack.h
...action, const guint8 *data, guint len) { @@ -2188,6 +2177,7 @@ swfdec_action_print_jump (guint action, } return g_strdup_printf ("Jump %d", GINT16_FROM_LE (*((gint16*) data))); } +#endif static char * swfdec_action_print_push (guint action, const guint8 *data, guint len) @@ -2246,7 +2236,7 @@ swfdec_action_print_push (guint action, break; default: SWFDEC_ERROR ("Push: type %u not implemented", type); - return JS_FALSE; + return NULL; } } return g_string_free (string, FALSE); @@ -2262,7 +2252,7 @@ swfdec_action_print_constant_pool (guint...
2019 Nov 22
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...em_tx_timeout(struct net_device *dev, int txqueue) { struct gem *gp = netdev_priv(dev); diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index d007dfeba5c3..74e9bf5e4a93 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) #define SXD(x) #endif -static void happy_meal_tx_timeout(struct net_device *dev) +static void happy_meal_tx_timeout(struct net_device *dev, int txqueue) { struct happy_meal *hp = netdev_priv(dev); diff --git a/drivers/net/eth...
2019 Nov 23
1
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...queue) > { > struct gem *gp = netdev_priv(dev); > > diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c > index d007dfeba5c3..74e9bf5e4a93 100644 > --- a/drivers/net/ethernet/sun/sunhme.c > +++ b/drivers/net/ethernet/sun/sunhme.c > @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) > #define SXD(x) > #endif > > -static void happy_meal_tx_timeout(struct net_device *dev) > +static void happy_meal_tx_timeout(struct net_device *dev, int txqueue) > { > struct happy_meal *hp = netdev_pr...
2019 Nov 22
4
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
Hi Michael, Em sex., 22 de nov. de 2019 ?s 07:31, Michael S. Tsirkin <mst at redhat.com> escreveu: > > On Thu, Nov 21, 2019 at 10:36:36PM -0300, Julio Faracco wrote: > > Driver virtio_net is not handling error events for TX provided by > > dev_watchdog. This event is reached when transmission queue is having > > problems to transmit packets. This could happen for any
2019 Nov 22
4
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
Hi Michael, Em sex., 22 de nov. de 2019 ?s 07:31, Michael S. Tsirkin <mst at redhat.com> escreveu: > > On Thu, Nov 21, 2019 at 10:36:36PM -0300, Julio Faracco wrote: > > Driver virtio_net is not handling error events for TX provided by > > dev_watchdog. This event is reached when transmission queue is having > > problems to transmit packets. This could happen for any
2019 Nov 24
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...em_tx_timeout(struct net_device *dev, int txqueue) { struct gem *gp = netdev_priv(dev); diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index d007dfeba5c3..74e9bf5e4a93 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) #define SXD(x) #endif -static void happy_meal_tx_timeout(struct net_device *dev) +static void happy_meal_tx_timeout(struct net_device *dev, int txqueue) { struct happy_meal *hp = netdev_priv(dev); diff --git a/drivers/net/eth...
2019 Nov 24
3
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...em_tx_timeout(struct net_device *dev, int txqueue) { struct gem *gp = netdev_priv(dev); diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index d007dfeba5c3..74e9bf5e4a93 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) #define SXD(x) #endif -static void happy_meal_tx_timeout(struct net_device *dev) +static void happy_meal_tx_timeout(struct net_device *dev, int txqueue) { struct happy_meal *hp = netdev_priv(dev); diff --git a/drivers/net/eth...
2019 Nov 24
3
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...em_tx_timeout(struct net_device *dev, int txqueue) { struct gem *gp = netdev_priv(dev); diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index d007dfeba5c3..74e9bf5e4a93 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) #define SXD(x) #endif -static void happy_meal_tx_timeout(struct net_device *dev) +static void happy_meal_tx_timeout(struct net_device *dev, int txqueue) { struct happy_meal *hp = netdev_priv(dev); diff --git a/drivers/net/eth...
2019 Nov 24
0
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
...eout(struct net_device *dev, unsigned int txqueue) { struct gem *gp = netdev_priv(dev); diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index d007dfeba5c3..74e9bf5e4a93 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) #define SXD(x) #endif -static void happy_meal_tx_timeout(struct net_device *dev) +static void happy_meal_tx_timeout(struct net_device *dev, unsigned int txqueue) { struct happy_meal *hp = netdev_priv(dev); diff --git a/driver...
2019 Nov 24
1
[PATCH net-next v2] drivers: net: virtio_net: Implement a dev_watchdog handler
On Sun, 24 Nov 2019 18:29:49 -0500, Michael S. Tsirkin wrote: > netdev: pass the stuck queue to the timeout handler > > This allows incrementing the correct timeout statistic without any mess. > Down the road, devices can learn to reset just the specific queue. FWIW Acked-by: Jakub Kicinski <jakub.kicinski at netronome.com>
2000 Oct 04
0
2.2.0p1 chroot patch
...ot; 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2227 "configure" +#line 2229 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getuserattr(); below. */ @@ -2246,7 +2248,7 @@ ; return 0; } EOF -if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test...
2019 Nov 27
0
[net-next V3 1/2] netdev: pass the stuck queue to the timeout handler
...ruct gem *gp = netdev_priv(dev); > > > > diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c > > index d007dfeba5c3..f0fe7bb2a750 100644 > > --- a/drivers/net/ethernet/sun/sunhme.c > > +++ b/drivers/net/ethernet/sun/sunhme.c > > @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) > > #define SXD(x) > > #endif > > > > -static void happy_meal_tx_timeout(struct net_device *dev) > > +static void happy_meal_tx_timeout(struct net_device *dev, unsigned int txqueue) > > { > &g...
2019 Dec 03
0
[PATCH RFC v6 net-next] netdev: pass the stuck queue to the timeout handler
...eout(struct net_device *dev, unsigned int txqueue) { struct gem *gp = netdev_priv(dev); diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index d007dfeba5c3..f0fe7bb2a750 100644 --- a/drivers/net/ethernet/sun/sunhme.c +++ b/drivers/net/ethernet/sun/sunhme.c @@ -2246,7 +2246,7 @@ static int happy_meal_close(struct net_device *dev) #define SXD(x) #endif -static void happy_meal_tx_timeout(struct net_device *dev) +static void happy_meal_tx_timeout(struct net_device *dev, unsigned int txqueue) { struct happy_meal *hp = netdev_priv(dev); diff --git a/driver...