search for: f_count

Displaying 18 results from an estimated 18 matches for "f_count".

Did you mean: g_count
2023 Feb 27
2
report BUG: io_uring triggers umount error
...gt;mnt_sb->s_type->name; >>> >>> if (!strncmp(str($n), "ocfs2", 5)) { >>> @[comm] +=1; >>> >>> printf("%s", kstack); >>> } >>> } >>> >> >> I used below script to find source file hold f_count. >> >> e.g: ./link-cp /mnt/aa.bin /mnt/1 >> The script will show f_count of aa.bin only down to 3. We expect f_count value >> down to 1 then trigger mntput. >> >> ``` >> #include <linux/mount.h> >> #include <linux/string.h> >> #inclu...
2023 Feb 26
1
report BUG: io_uring triggers umount error
...> } > > kprobe:mntput > { > $n = ((struct vfsmount *)arg0)->mnt_sb->s_type->name; > > if (!strncmp(str($n), "ocfs2", 5)) { > @[comm] +=1; > > printf("%s", kstack); > } > } > I used below script to find source file hold f_count. e.g: ./link-cp /mnt/aa.bin /mnt/1 The script will show f_count of aa.bin only down to 3. We expect f_count value down to 1 then trigger mntput. ``` #include <linux/mount.h> #include <linux/string.h> #include <linux/dcache.h> #include <linux/path.h> #include <linux/fs_s...
2023 Feb 26
1
report BUG: io_uring triggers umount error
...$n = ((struct vfsmount *)arg0)->mnt_sb->s_type->name; > > > > if (!strncmp(str($n), "ocfs2", 5)) { > > @[comm] +=1; > > > > printf("%s", kstack); > > } > > } > > > > I used below script to find source file hold f_count. > > e.g: ./link-cp /mnt/aa.bin /mnt/1 > The script will show f_count of aa.bin only down to 3. We expect f_count value > down to 1 then trigger mntput. > > ``` > #include <linux/mount.h> > #include <linux/string.h> > #include <linux/dcache.h> > #incl...
2023 Mar 01
1
report BUG: io_uring triggers umount error
...gt;> >>>> if (!strncmp(str($n), "ocfs2", 5)) { >>>> @[comm] +=1; >>>> >>>> printf("%s", kstack); >>>> } >>>> } >>>> >>> >>> I used below script to find source file hold f_count. >>> >>> e.g: ./link-cp /mnt/aa.bin /mnt/1 >>> The script will show f_count of aa.bin only down to 3. We expect f_count value >>> down to 1 then trigger mntput. >>> >>> ``` >>> #include <linux/mount.h> >>> #include <li...
2023 Feb 24
1
report BUG: io_uring triggers umount error
On 2/24/23 4:03 PM, Heming Zhao wrote: > On 2/24/23 3:52 PM, Joseph Qi wrote: >> >> >> On 2/24/23 3:48 PM, Heming Zhao via Ocfs2-devel wrote: >>> On 2/24/23 2:54 PM, Joseph Qi wrote: >>>> I can reproduce this in my local VM. >>>> I've traced ocfs2_dismount_volume and found that it hasn't been called. >>>> So EBUSY is
2019 Sep 17
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...a_buf *buf) > +{ > + struct drm_gem_object *obj; > + > + if (buf->ops == &virtgpu_dmabuf_ops) { > + obj = buf->priv; > + if (obj->dev == dev) { > + /* > + * Importing dmabuf exported from our own gem increases > + * refcount on gem itself instead of f_count of dmabuf. > + */ > + drm_gem_object_get(obj); > + return obj; > + } > + } > + > + return drm_gem_prime_import(dev, buf); > +} > + > struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj) > { > struct virtio_gpu_object *bo = gem_t...
2019 Oct 08
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...gt; + obj = buf->priv; > > > + if (obj->dev == dev) { > > > + /* > > > + * Importing dmabuf exported from our own gem increases > > > + * refcount on gem itself instead of f_count of dmabuf. > > > + */ > > > + drm_gem_object_get(obj); > > > + return obj; > > > + } > > > + } > > > + > > > + return drm_gem_prime_import(dev, buf); >...
2019 Oct 08
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...t; > > > > + if (obj->dev == dev) { > > > > > + /* > > > > > + * Importing dmabuf exported from our own gem increases > > > > > + * refcount on gem itself instead of f_count of dmabuf. > > > > > + */ > > > > > + drm_gem_object_get(obj); > > > > > + return obj; > > > > > + } > > > > > + } > > > > > + >...
2019 Oct 16
0
[RFC PATCH] drm/virtio: Export resource handles via DMA-buf API
...if (obj->dev == dev) { > > > > > > > + /* > > > > > > > + * Importing dmabuf exported from our own gem increases > > > > > > > + * refcount on gem itself instead of f_count of dmabuf. > > > > > > > + */ > > > > > > > + drm_gem_object_get(obj); > > > > > > > + return obj; > > > > > > > + } > > > > >...
2007 Dec 30
22
[Bug 13864] New: crash with RandR12 on server restart
http://bugs.freedesktop.org/show_bug.cgi?id=13864 Summary: crash with RandR12 on server restart Product: xorg Version: 7.3 Platform: Other OS/Version: All Status: NEW Severity: major Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy:
2018 Jan 11
5
[PATCH 1/5] drm/prime: Remove duplicate forward declaration
From: Thierry Reding <treding at nvidia.com> struct device is forward-declared twice. Remove the second instance. Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> Signed-off-by: Thierry Reding <treding at nvidia.com> --- include/drm/drm_prime.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index
2012 Jul 12
2
[PATCH 3/5] vhost: Make vhost a separate module
Currently, vhost-net is the only consumer of vhost infrastructure. So vhost infrastructure and vhost-net driver are in a single module. Separating this as a vhost.ko module and a vhost-net.ko module makes it is easier to share code with other vhost drivers, e.g. vhost-blk.ko, tcm-vhost.ko. Signed-off-by: Asias He <asias at redhat.com> --- drivers/vhost/Kconfig | 10 +++++++++-
2012 Jul 12
2
[PATCH 3/5] vhost: Make vhost a separate module
Currently, vhost-net is the only consumer of vhost infrastructure. So vhost infrastructure and vhost-net driver are in a single module. Separating this as a vhost.ko module and a vhost-net.ko module makes it is easier to share code with other vhost drivers, e.g. vhost-blk.ko, tcm-vhost.ko. Signed-off-by: Asias He <asias at redhat.com> --- drivers/vhost/Kconfig | 10 +++++++++-
2012 Jul 13
9
[PATCH RESEND 0/5] Add vhost-blk support
Hi folks, [I am resending to fix the broken thread in the previous one.] This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to userspace virtio-blk implementation, vhost-blk gives about 5% to 15% performance improvement. Asias He (5): aio: Export symbols and struct kiocb_batch for in kernel aio usage eventfd: Export symbol
2012 Jul 13
9
[PATCH RESEND 0/5] Add vhost-blk support
Hi folks, [I am resending to fix the broken thread in the previous one.] This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to userspace virtio-blk implementation, vhost-blk gives about 5% to 15% performance improvement. Asias He (5): aio: Export symbols and struct kiocb_batch for in kernel aio usage eventfd: Export symbol
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...CONFIG_MTRR @@ -1091,12 +1091,12 @@ static int ark_pci_suspend (struct pci_dev* dev, pm_message_t state) dev_info(info->device, "suspend\n"); - acquire_console_sem(); + console_lock(); mutex_lock(&(par->open_lock)); if ((state.event == PM_EVENT_FREEZE) || (par->ref_count == 0)) { mutex_unlock(&(par->open_lock)); - release_console_sem(); + console_unlock(); return 0; } @@ -1107,7 +1107,7 @@ static int ark_pci_suspend (struct pci_dev* dev, pm_message_t state) pci_set_power_state(dev, pci_choose_state(dev, state)); mutex_unlock(&(par->o...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...CONFIG_MTRR @@ -1091,12 +1091,12 @@ static int ark_pci_suspend (struct pci_dev* dev, pm_message_t state) dev_info(info->device, "suspend\n"); - acquire_console_sem(); + console_lock(); mutex_lock(&(par->open_lock)); if ((state.event == PM_EVENT_FREEZE) || (par->ref_count == 0)) { mutex_unlock(&(par->open_lock)); - release_console_sem(); + console_unlock(); return 0; } @@ -1107,7 +1107,7 @@ static int ark_pci_suspend (struct pci_dev* dev, pm_message_t state) pci_set_power_state(dev, pci_choose_state(dev, state)); mutex_unlock(&(par->o...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...CONFIG_MTRR @@ -1091,12 +1091,12 @@ static int ark_pci_suspend (struct pci_dev* dev, pm_message_t state) dev_info(info->device, "suspend\n"); - acquire_console_sem(); + console_lock(); mutex_lock(&(par->open_lock)); if ((state.event == PM_EVENT_FREEZE) || (par->ref_count == 0)) { mutex_unlock(&(par->open_lock)); - release_console_sem(); + console_unlock(); return 0; } @@ -1107,7 +1107,7 @@ static int ark_pci_suspend (struct pci_dev* dev, pm_message_t state) pci_set_power_state(dev, pci_choose_state(dev, state)); mutex_unlock(&(par->o...