Author: adrian.chadd
Date: Wed Apr 1 17:47:18 2009
New Revision: 13901
Removed:
branches/LUSCA_HEAD/src/fs/aufs/aiops.c
branches/LUSCA_HEAD/src/fs/aufs/aiops_win32.c
branches/LUSCA_HEAD/src/fs/aufs/async_io.c
branches/LUSCA_HEAD/src/fs/aufs/async_io.h
Modified:
branches/LUSCA_HEAD/src/fs/aufs/store_dir_aufs.c
branches/LUSCA_HEAD/src/fs/coss/store_dir_coss.c
Log:
Reorganise some of the asyncio users in light of the previous few
structural commits.
* Remove the async IO code from the old location
* Change the COSS/AUFS directories over to use the new global variable from
libasyncio
for the thread autocalculation logic.
Modified: branches/LUSCA_HEAD/src/fs/aufs/store_dir_aufs.c
==============================================================================
--- branches/LUSCA_HEAD/src/fs/aufs/store_dir_aufs.c (original)
+++ branches/LUSCA_HEAD/src/fs/aufs/store_dir_aufs.c Wed Apr 1 17:47:18
2009
@@ -1927,6 +1927,7 @@
asyncufs_dir_index = realloc(asyncufs_dir_index, (n_asyncufs_dirs + 1)
* sizeof(*asyncufs_dir_index));
asyncufs_dir_index[n_asyncufs_dirs++] = index;
+ aiops_default_ndirs ++;
}
/*
Modified: branches/LUSCA_HEAD/src/fs/coss/store_dir_coss.c
==============================================================================
--- branches/LUSCA_HEAD/src/fs/coss/store_dir_coss.c (original)
+++ branches/LUSCA_HEAD/src/fs/coss/store_dir_coss.c Wed Apr 1 17:47:18
2009
@@ -147,6 +147,7 @@
}
storeCossDirRebuild(sd);
n_coss_dirs++;
+ aiops_default_ndirs ++;
/*
* fs.blksize is normally determined by calling statvfs() etc,
* but we just set it here. It is used in accounting the
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---