Andreas Dilger <adilger <at> dilger.ca> writes: > Since this would be an advisory syscall (i.e. it doesn't really > return anything and cannot guarantee that all the inodes will be in > memory), then if the filesystem is having trouble prefetching the > inodes (e.g. invalid inode number(s) or lock ordering or contention > issues) it could always bail out and leave it to stat() to actually > fetch the inodes into memory when accessed. > The first sentence made me think whether the existing fadvice64() syscall can be reused (with the dir fd) in place if the new dirreadahead()? If not, dirreadahead should have a flags param (https://lwn.net/Articles/585415/) Best regards. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html