rgowd...@redhat.com>
> Cc: "Gluster Devel" <gluster-devel@gluster.org>
> Sent: Friday, 30 September, 2016 9:53:44 AM
> Subject: Re: [Gluster-devel] Dht readdir filtering out names
>
>
>
> On Fri, Sep 30, 2016 at 9:50 AM, Raghavendra Gowdappa < rgow
What if the lower xlators want to set the entry->inode to NULL and clear
the entry->d_stat to force a lookup on the name? i.e.
gfid-split-brain/ia_type mismatches.
On Fri, Sep 30, 2016 at 10:00 AM, Raghavendra Gowdappa
wrote:
>
>
> - Original Message -
> > From:
- Original Message -
> From: "Pranith Kumar Karampuri"
> To: "Raghavendra Gowdappa"
> Cc: "Shyam Ranganathan" , "Nithya Balachandran"
> , "Gluster Devel"
>
> Sent: Friday,
In gfapi, we pass down readdirp, irrespective of whether the application called
readdir/readdirp.
Hence the behaviour will be same for samba and Ganesha i suppose.
Regards,
Poornima
- Original Message -
> From: "Pranith Kumar Karampuri"
> To: "Raghavendra
- Original Message -
> From: "Pranith Kumar Karampuri"
> To: "Raghavendra Gowdappa"
> Cc: "Shyam Ranganathan" , "Nithya Balachandran"
> , "Gluster Devel"
>
> Sent: Friday,
hi,
In dht_readdirp_cbk() there is a check about skipping files without
ia_type. Could you help me understand why this check is added? There are
times when users have to delete gfid of the entries and trigger something
like 'find . | xargs stat' to heal the gfids. This case would fail if we
On Fri, Sep 30, 2016 at 9:58 AM, Raghavendra Gowdappa
wrote:
>
>
> - Original Message -
> > From: "Pranith Kumar Karampuri"
> > To: "Raghavendra Gowdappa"
> > Cc: "Shyam Ranganathan" , "Nithya
dht_readdirp_cbk has different behaviour for directories and files.
1. If file, pick the dentry (passed from subvols as part of readdirp response)
if the it corresponds to data file.
2. If directory pick the dentry if readdirp response is from hashed-subvol.
In all other cases, the dentry is
On 09/30/2016 10:08 AM, Pranith Kumar Karampuri wrote:
Does samba/gfapi/nfs-ganesha have options to disable readdirp?
AFAIK, currently there is no option to disable/enable readdirp in gfapi
& nfs-ganesha (not sure about samba). But looks like nfs-ganesha seem to
be always using readdir,
- Original Message -
> From: "Pranith Kumar Karampuri"
> To: "Raghavendra Gowdappa"
> Cc: "Shyam Ranganathan" , "Nithya Balachandran"
> , "Gluster Devel"
>
> Sent: Friday,
On Fri, Sep 30, 2016 at 9:13 AM, Raghavendra Gowdappa
wrote:
> dht_readdirp_cbk has different behaviour for directories and files.
>
> 1. If file, pick the dentry (passed from subvols as part of readdirp
> response) if the it corresponds to data file.
> 2. If directory pick
- Original Message -
> From: "Raghavendra Gowdappa"
> To: "Pranith Kumar Karampuri"
> Cc: "Shyam Ranganathan" , "Nithya Balachandran"
> , "Gluster Devel"
>
> Sent: Friday,
On Fri, Sep 30, 2016 at 9:50 AM, Raghavendra Gowdappa
wrote:
>
>
> - Original Message -
> > From: "Pranith Kumar Karampuri"
> > To: "Raghavendra Gowdappa"
> > Cc: "Shyam Ranganathan" , "Nithya
On 09/30/2016 03:02 PM, Poornima Gurusiddaiah wrote:
In gfapi, we pass down readdirp, irrespective of whether the application
called readdir/readdirp.
Hence the behaviour will be same for samba and Ganesha i suppose.
But in gfapi, I see clear distinction for readdir and readdirp calls
Does samba/gfapi/nfs-ganesha have options to disable readdirp?
On Fri, Sep 30, 2016 at 10:04 AM, Pranith Kumar Karampuri <
pkara...@redhat.com> wrote:
> What if the lower xlators want to set the entry->inode to NULL and clear
> the entry->d_stat to force a lookup on the name? i.e.
>
15 matches
Mail list logo