search for: entry_size

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

2017 Aug 04
0
Quotas not working after adding arbiter brick to replica 2
...hange $vol to the name of volume. =============================== vol=<v5> qconf=/var/lib/glusterd/vols/$vol/quota.conf qconf_bk="$qconf".bk cp $qconf $qconf_bk grep "GlusterFS Quota conf | version: v1.2" /var/lib/glusterd/vols/v5/quota.conf if [ $? -eq 0 ]; then entry_size=17; else entry_size=16; fi size=`ls -l $qconf | awk '{print $5}'` (( size_new = size - entry_size )) dd if=$qconf_bk of=$qconf bs=1 count=$size_new gluster v quota v5 list ==================================== In the unlikely case that there are multiple stale entries in the end of...
2017 Aug 04
1
Quotas not working after adding arbiter brick to replica 2
...============================== > > vol=<v5> > qconf=/var/lib/glusterd/vols/$vol/quota.conf > qconf_bk="$qconf".bk > cp $qconf $qconf_bk > grep "GlusterFS Quota conf | version: v1.2" /var/lib/glusterd/vols/v5/quota.conf > if [ $? -eq 0 ]; > then > entry_size=17; > else > entry_size=16; > fi > size=`ls -l $qconf | awk '{print $5}'` > (( size_new = size - entry_size )) > dd if=$qconf_bk of=$qconf bs=1 count=$size_new > gluster v quota v5 list > ==================================== > In the unlikely case that there are m...
2017 Aug 03
2
Quotas not working after adding arbiter brick to replica 2
I tried to re-create manually my quotas but not even that works now. Running the "limit-usage" command as showed below returns success: $ sudo gluster volume quota myvolume limit-usage /userdirectory 50GB volume quota : success but when I list the quotas using "list" nothing appears. What can I do to fix that issue with the quotas? > -------- Original Message -------- >
2019 Oct 21
0
[PATCH RFC 1/3] kcov: remote coverage support
...start(t, size, area, mode, sequence); > + > +} > + > +static void kcov_move_area(enum kcov_mode mode, void *dst_area, > + unsigned int dst_area_size, void *src_area) > +{ > + u64 word_size = sizeof(unsigned long); > + u64 count_size, entry_size; > + u64 dst_len, src_len; > + void *dst_entries, *src_entries; > + u64 dst_occupied, dst_free, bytes_to_move, entries_moved; > + > + kcov_debug("%px %u <= %px %lu\n", > + dst_area, dst_area_size, src_area, *(unsigned long *)src_a...
2012 Jun 08
18
[PATCH 0 of 4 RFC] Populate-on-demand: Check pages being returned by the balloon driver
Populate-on-demand: Check pages being returned by the balloon driver This patch series is the second result of my work last summer on decreasing fragmentation of superpages in a guests'' p2m when using populate-on-demand. This patch series is against 4.1; I''m posting it to get feedback on the viability of getting a ported version of this patch into 4.2. As with the previous
2019 Nov 02
13
[PATCH v2 0/9] drm/nouveau: Various fixes for GP10B
From: Thierry Reding <treding at nvidia.com> Hi Ben, here's a revised subset of the patches I had sent out a couple of weeks ago. I've reworked the BAR2 accesses in the way that you had suggested, which at least for GP10B turned out to be fairly trivial to do. I have not looked in detail at this for GV11B yet, but a cursory look showed that BAR2 is accessed in more places, so the
2019 Dec 09
11
[PATCH v3 0/9] drm/nouveau: Various fixes for GP10B
From: Thierry Reding <treding at nvidia.com> Hi Ben, here's a revised subset of the patches I had sent out a couple of weeks ago. I've reworked the BAR2 accesses in the way that you had suggested, which at least for GP10B turned out to be fairly trivial to do. I have not looked in detail at this for GV11B yet, but a cursory look showed that BAR2 is accessed in more places, so the
2012 Nov 19
0
[PATCH 247/493] drivers/block: remove use of __devinit
...neric_request(struct vdc_port *port, u8 op, void *buf, int len) return err; } -static int __devinit vdc_alloc_tx_ring(struct vdc_port *port) +static int vdc_alloc_tx_ring(struct vdc_port *port) { struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; unsigned long len, entry_size; @@ -725,7 +725,7 @@ static struct vio_driver_ops vdc_vio_ops = { .handshake_complete = vdc_handshake_complete, }; -static void __devinit print_version(void) +static void print_version(void) { static int version_printed; @@ -733,7 +733,7 @@ static void __devinit print_version(void) pri...
2012 Nov 19
0
[PATCH 247/493] drivers/block: remove use of __devinit
...neric_request(struct vdc_port *port, u8 op, void *buf, int len) return err; } -static int __devinit vdc_alloc_tx_ring(struct vdc_port *port) +static int vdc_alloc_tx_ring(struct vdc_port *port) { struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; unsigned long len, entry_size; @@ -725,7 +725,7 @@ static struct vio_driver_ops vdc_vio_ops = { .handshake_complete = vdc_handshake_complete, }; -static void __devinit print_version(void) +static void print_version(void) { static int version_printed; @@ -733,7 +733,7 @@ static void __devinit print_version(void) pri...
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *