[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Linux-cachefs] About compile option for i386 of cachefilesd
- From: DAICON <daicon daicoon org>
- To: Linux filesystem caching discussion list <linux-cachefs redhat com>
- Subject: Re: [Linux-cachefs] About compile option for i386 of cachefilesd
- Date: Thu, 08 Nov 2007 16:46:08 +0900
Hello.
> I'm surprised it's necessary. cachefilesd doesn't actually open any of the
> data files. On the other hand, it does stat them, and that may be the
> problem.
The cause is this.
cachefilesd.c
1096
1097 /* see if this object is already known to us */
1098 if (fstatat(dirfd(curr->dir), dirent.d_name, &st, 0) < 0) {
1099 if (errno == ENOENT)
1100 goto next;
1101 oserror("Failed to stat directory");
1102 }
--
<daicon daicoon org>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]