Commit Graph

522 Commits

Author SHA1 Message Date
sage
adfd89c294 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@472 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-26 20:46:30 +00:00
carlosm
4449be37a0 Modified Files:
Buffercache.cc Buffercache.h Client.cc Client.h

Consolidation of dirty buffers before flushing.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@471 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-24 03:04:55 +00:00
carlosm
cd99de43ae Modified Files:
Buffercache.cc Buffercache.h Client.cc Client.h

Fixed some more unsigned vs signed bugs and made flush_inode_buffers
non-blocking


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@470 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-23 23:13:20 +00:00
carlosm
42e438f127 Modified Files:
Buffercache.cc Client.cc

Introduced more parallelism:

(1) reads hit on flushing buffers in addition to clean and dirty ones
(2) trim_bcache is not blocking unless it cannot reclaim a single buffer in
which case it waits until all buffers are flushed


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@469 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-23 21:40:55 +00:00
carlosm
bdf5994bbe Modified Files:
Buffercache.cc Buffercache.h Client.cc Client.h

Fixed bugs found by Feng


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@468 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-23 19:45:24 +00:00
carlosm
a21f6ec703 Modified Files:
client/Buffercache.cc client/Client.cc

Successfully finishes openssh trace - except dirty shutdown:
fakemessenger: last shutdown
unsetting messenger kicker
thread finish (i woke up but no messages, bye)
fakesyn: client/Buffercache.cc:27: Bufferhead::~Bufferhead(): Assertion
`state == 1' failed.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@467 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-21 09:15:56 +00:00
carlosm
4d4cbd43f6 Modified Files:
include/buffer.h include/bufferlist.h

added zero() method


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@466 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-21 01:36:44 +00:00
carlosm
4fcc8f4563 Modified Files:
client/Client.cc client/Client.h client/Buffercache.cc
 	client/Buffercache.h

Intermediate state -- still a bug in Buffercache::overlap


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@465 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-21 01:36:00 +00:00
sage
352103120e *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@464 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-19 19:29:12 +00:00
sage
8c7283a709 lots of cleanup
clock stuff
bug fixes
client capabilities!
object store attributes, collections (untested in FakeStore)


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@463 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-19 18:08:29 +00:00
sage
176a49c609 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@462 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-17 18:11:21 +00:00
sage
5711b3a2b7 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@461 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-13 19:38:02 +00:00
cyclonew
560eaf9433 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@460 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-13 18:43:14 +00:00
sage
5aaaccc78a *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@459 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-13 17:50:20 +00:00
sage
209a90eac6 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@458 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-13 04:39:18 +00:00
sage
2ad3066c04 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@457 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-13 04:36:49 +00:00
carlosm
33475a32bc Modified Files:
client/Buffercache.cc

Another bug in map_existing: need_off was not correctly advanced


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@456 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-13 02:22:58 +00:00
carlosm
c25cb2973a Modified Files:
client/Buffercache.cc client/Client.cc

Fixed bug in map_existing that listed unnecessary holes


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@455 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-12 22:24:53 +00:00
carlosm
f21af4ee83 Modified Files:
client/Client.cc

also won't release buffers after close ...


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@454 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-12 19:17:10 +00:00
carlosm
16cd59a1d8 Modified Files:
client/Buffercache.cc client/Client.cc

Removed wrong Filecache::copy_out assertion and disabled flushing on close.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@453 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-12 19:10:10 +00:00
sage
939c85917c *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@452 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-12 19:09:09 +00:00
sage
1c6ac1a22d *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@451 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-12 18:57:22 +00:00
sage
c26b4e518b full traces (w/ read and write)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@450 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-12 17:50:11 +00:00
sage
eea765a8b8 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@449 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 21:47:48 +00:00
sage
3fe218a14a client logs
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@448 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 21:08:32 +00:00
sage
a7f33319f1 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@447 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 20:28:53 +00:00
sage
4eb8ae9e7e *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@446 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 20:24:20 +00:00
sage
1d7aa8f618 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@445 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 20:06:55 +00:00
sage
a9efb21f59 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@444 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 18:36:38 +00:00
sage
31698073bb *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@443 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 17:50:47 +00:00
sage
4b9ac4b5de *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@442 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 07:19:16 +00:00
cyclonew
15b67ed71b *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@441 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 06:07:46 +00:00
carlosm
92f0573cca Modified Files:
config.cc client/Buffercache.cc client/Buffercache.h
 	client/Client.cc include/config.h

Much more stable but still some bugs.
Client::flush_buffers is currently blocking until buffer cache puts state changes
in critical regions.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@440 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 05:36:19 +00:00
cyclonew
54b7bc4a8f *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@439 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-11 05:25:02 +00:00
cyclonew
cf1c1425f3 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@438 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-10 20:49:42 +00:00
carlosm
5759e597c0 Modified Files:
Makefile config.cc client/Buffercache.cc client/Buffercache.h
 	client/Client.cc client/Client.h include/config.h

Buffercache with flushing after max age and shrinking based on max size. Still
not bug free: e.g. copying a large file eventually corrupts buffercache size
variables with the consequence that flushing stops.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@437 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-10 18:29:28 +00:00
sage
6ee92e2a82 osd replication
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@436 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-10 00:04:25 +00:00
sage
f652659e06 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@435 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 22:42:45 +00:00
sage
5be02b6fc5 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@434 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 20:32:20 +00:00
sage
1cd6799a75 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@433 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 20:25:56 +00:00
sage
e3b966eee9 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@432 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 19:59:16 +00:00
sage
482ad5d40d *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@431 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 18:32:40 +00:00
sage
57f7562e92 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@430 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 17:17:37 +00:00
sage
32545346df *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@429 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-09 07:35:13 +00:00
sage
a564c96c98 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@428 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-08 19:02:40 +00:00
sage
e03fd6f8e5 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@427 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-08 18:46:08 +00:00
sage
315aeb469c *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@426 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-08 18:25:50 +00:00
sage
b8a98e6adb *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@425 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-08 15:41:30 +00:00
sage
8dd2f473bf *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@424 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-08 07:12:03 +00:00
sage
3c5a7f1bb0 *** empty log message ***
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@423 29311d96-e01e-0410-9327-a35deaab8ce9
2005-07-08 06:16:37 +00:00