Print this page
6198 Let's EOL cachefs
*** 18,28 ****
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
--- 18,28 ----
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
! * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
*/
/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
*** 69,86 ****
/*
* File identifier. Should be unique per filesystem on a single
* machine. This is typically called by a stateless file server
* in order to generate "file handles".
*
- * Do not change the definition of struct fid ... fid_t without
- * letting the CacheFS group know about it! They will have to do at
- * least two things, in the same change that changes this structure:
- * 1. change CFSVERSION in usr/src/uts/common/sys/fs/cachefs_fs.h
- * 2. put the old version # in the canupgrade array
- * in cachfs_upgrade() in usr/src/cmd/fs.d/cachefs/fsck/fsck.c
- * This is necessary because CacheFS stores FIDs on disk.
- *
* Many underlying file systems cast a struct fid into other
* file system dependent structures which may require 4 byte alignment.
* Because a fid starts with a short it may not be 4 byte aligned, the
* fid_pad will force the alignment.
*/
--- 69,78 ----