mirror of
https://github.com/versity/scoutfs.git
synced 2025-12-23 05:25:18 +00:00
scoutfs: remove accidentally committed notes
Some brainstorming notes in a comment accdentally made their way in to a commit. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -70,21 +70,6 @@ void scoutfs_destroy_inode(struct inode *inode)
|
||||
static void set_inode_ops(struct inode *inode)
|
||||
{
|
||||
switch (inode->i_mode & S_IFMT) {
|
||||
/*
|
||||
* I guess we add a reg.c for regular files? Or pagecache.c?
|
||||
* I guess that makes more sense.
|
||||
*
|
||||
* - page dirtying makes sure there's a dirty item
|
||||
* - sync writes back page cache pages
|
||||
* - writepage copies to dirty item
|
||||
* - crc calculated after copying
|
||||
* - pages can be pretty large
|
||||
* - tail items can be partial?
|
||||
* - tracing all over the place
|
||||
* - maybe just less than 4k is the answer?
|
||||
* - so allocation pulls the value back
|
||||
* - probably leave some overhead for header growth
|
||||
*/
|
||||
case S_IFREG:
|
||||
inode->i_mapping->a_ops = &scoutfs_file_aops;
|
||||
// inode->i_op = &scoutfs_file_iops;
|
||||
|
||||
Reference in New Issue
Block a user