From aacff9d721526ab44d47c7d2f284609019ecb15f Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 19 Dec 2011 14:58:08 -0500 Subject: [PATCH] pnfs: thread-by-stripe instead of by-server the thread-by-server model breaks down when using dense layouts, because multiple stripes could be mapped to a single data server, and the per-data-server thread would have to send a COMMIT for each stripe Signed-off-by: Casey Bodley --- daemon/pnfs.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daemon/pnfs.h b/daemon/pnfs.h index 748d498..e79df25 100644 --- a/daemon/pnfs.h +++ b/daemon/pnfs.h @@ -42,7 +42,11 @@ # endif # define PNFS_THREADING -# define PNFS_THREAD_BY_SERVER + +/* XXX: the thread-by-server model breaks down when using dense layouts, + * because multiple stripes could be mapped to a single data server, and + * the per-data-server thread would have to send a COMMIT for each stripe */ +//# define PNFS_THREAD_BY_SERVER #endif