2012-12-14 (금), 14:41 +0900, Namjae Jeon:
> 2012/12/14, Jaegeuk Kim :
> > Hi,
> >
> >> diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c
> >> index a60f042..5e48bac 100644
> >> --- a/fs/f2fs/hash.c
> >> +++ b/fs/f2fs/hash.c
> >> @@ -76,6 +76,10 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int
> >>
2012/12/14, Jaegeuk Kim :
> Hi,
>
>> diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c
>> index a60f042..5e48bac 100644
>> --- a/fs/f2fs/hash.c
>> +++ b/fs/f2fs/hash.c
>> @@ -76,6 +76,10 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int
>> len)
>> const char *p;
>> __u32 in[8], buf[4];
>>
Hi,
> diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c
> index a60f042..5e48bac 100644
> --- a/fs/f2fs/hash.c
> +++ b/fs/f2fs/hash.c
> @@ -76,6 +76,10 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int len)
> const char *p;
> __u32 in[8], buf[4];
>
> + if ((len <= 2) && (name[0]
'; linux-
> ker...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net
> Subject: Re: [f2fs-dev] [PATCH v2] f2fs: fix up f2fs_get_parent issue to
> retrieve correct parent inode number
>
>
>
> > -Original Message-
> > From: Namjae Jeon [mailto:linkinj...@gmail.com]
&
ge.net; linux-fsde...@vger.kernel.org
> Subject: [f2fs-dev] [PATCH v2] f2fs: fix up f2fs_get_parent issue to
> retrieve correct parent inode number
>
> From: Namjae Jeon
>
> Test Case:
> [NFS Client]
> ls -lR .
>
> [NFS Server]
> while [ 1 ]
> do
> echo 3 &
From: Namjae Jeon
Test Case:
[NFS Client]
ls -lR .
[NFS Server]
while [ 1 ]
do
echo 3 > /proc/sys/vm/drop_caches
done
Error on NFS Client: "No such file or directory"
When cache is dropped at the server, it results in lookup failure at the
NFS client due to non-connection with the parent. The
From: Namjae Jeon namjae.j...@samsung.com
Test Case:
[NFS Client]
ls -lR .
[NFS Server]
while [ 1 ]
do
echo 3 /proc/sys/vm/drop_caches
done
Error on NFS Client: No such file or directory
When cache is dropped at the server, it results in lookup failure at the
NFS client due to non-connection
Subject: [f2fs-dev] [PATCH v2] f2fs: fix up f2fs_get_parent issue to
retrieve correct parent inode number
From: Namjae Jeon namjae.j...@samsung.com
Test Case:
[NFS Client]
ls -lR .
[NFS Server]
while [ 1 ]
do
echo 3 /proc/sys/vm/drop_caches
done
Error on NFS Client
...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net
Subject: Re: [f2fs-dev] [PATCH v2] f2fs: fix up f2fs_get_parent issue to
retrieve correct parent inode number
-Original Message-
From: Namjae Jeon [mailto:linkinj...@gmail.com]
Sent: Thursday, December 13, 2012 11:44 PM
To: jaegeuk
Hi,
diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c
index a60f042..5e48bac 100644
--- a/fs/f2fs/hash.c
+++ b/fs/f2fs/hash.c
@@ -76,6 +76,10 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int len)
const char *p;
__u32 in[8], buf[4];
+ if ((len = 2) (name[0] == '.')
+
2012/12/14, Jaegeuk Kim jaegeuk@samsung.com:
Hi,
diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c
index a60f042..5e48bac 100644
--- a/fs/f2fs/hash.c
+++ b/fs/f2fs/hash.c
@@ -76,6 +76,10 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int
len)
const char *p;
__u32 in[8],
2012-12-14 (금), 14:41 +0900, Namjae Jeon:
2012/12/14, Jaegeuk Kim jaegeuk@samsung.com:
Hi,
diff --git a/fs/f2fs/hash.c b/fs/f2fs/hash.c
index a60f042..5e48bac 100644
--- a/fs/f2fs/hash.c
+++ b/fs/f2fs/hash.c
@@ -76,6 +76,10 @@ f2fs_hash_t f2fs_dentry_hash(const char *name, int
12 matches
Mail list logo