diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-08-23 22:37:10 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-08 01:43:01 -0700 |
commit | a5c829a3aa1d2f66dc85350bd4c163ef12507d44 (patch) | |
tree | 87fa7d05badb07a434a9f9b8fc4d5fc226a65b5b /contrib | |
parent | 727c933a62e6b436c0aabcf80b6cd67620ee5429 (diff) |
storage/posix: handle dentries from different mount points in readdir
- If posix translator is configured to have export directories to span accross
different mount points, inode number is transformed in the dentry returned.
Otherwise, the entry is not added to list of entries returned in readdir
callback.
- storage/posix returns ENOENT if the file is on different mount point other
than that of exported directory and is not configured for export directory
spanning across multiple mountpoints during lookup. But, since stat-prefetch
shortcuts lookup calls, its necessary that readdir return only valid
dentries.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions