Whamcloud - gitweb
rcorreia [Wed, 27 May 2009 18:33:30 +0000 (18:33 +0000)]
Branch b_hd_kdmu
b=17577
Extended attribute support for the DMU OSD.
alex [Thu, 14 May 2009 06:27:58 +0000 (06:27 +0000)]
- OST compatibility stuff
rcorreia [Fri, 8 May 2009 18:54:54 +0000 (18:54 +0000)]
Branch b_hd_kdmu
Minor compilation fixes.
rcorreia [Fri, 8 May 2009 18:10:49 +0000 (18:10 +0000)]
Branch b_hd_kdmu
b=18582
Fix broken HEAD->b_hd_kdmu update due to half-applied patch to libcfs/lustre modules.
alex [Thu, 30 Apr 2009 07:05:44 +0000 (07:05 +0000)]
- turn spinlock oo_guard to semaphore as functions called under it may schedule
alex [Thu, 30 Apr 2009 07:03:22 +0000 (07:03 +0000)]
- ldiskfs osd doesn't wait for write io to complete in osd_do_bio(), instead
it does in osd_trans_stop() to allow concurrent data IO and IO to journal
alex [Thu, 30 Apr 2009 04:38:14 +0000 (04:38 +0000)]
- on-disk compatibility in ldiskfs osd:
- hard-coded fids are used to access files like last_rcvd, LAST_ID, LAST_GROUP
- osd recognizes idif and uses legacy OST hierarchy instead of OI
- ofd uses hard-coded fids to access files like last_rcvd, LAST_ID, LAST_GROUP
- minor cleanups in ofd
alex [Sat, 25 Apr 2009 05:07:55 +0000 (05:07 +0000)]
- use punch to truncate, not setattr
alex [Sat, 25 Apr 2009 05:07:33 +0000 (05:07 +0000)]
- initialize lut spinlock
alex [Sat, 25 Apr 2009 05:03:42 +0000 (05:03 +0000)]
- add commit callback in osd_trans_stop() as underlying transaction may
change in truncate
- osd_declare_punch() grabs i_alloc_sem to avoid deadlock with write
- osd_declare_punch() reserves credits
- osd_punch() calls vmtruncate() directly
- osd_get_bufs() grabs i_alloc_sem to avoid deadlock with truncate
alex [Fri, 24 Apr 2009 18:23:17 +0000 (18:23 +0000)]
- don't need old obd-related methods
alex [Fri, 24 Apr 2009 18:04:24 +0000 (18:04 +0000)]
- check for methods in osd instance
alex [Mon, 13 Apr 2009 11:13:11 +0000 (11:13 +0000)]
- introduction of lu_target in ofd
alex [Mon, 13 Apr 2009 11:07:47 +0000 (11:07 +0000)]
- merge hassle fixed
alex [Mon, 13 Apr 2009 09:32:56 +0000 (09:32 +0000)]
- update from HEAD
alex [Sun, 12 Apr 2009 04:40:39 +0000 (04:40 +0000)]
- a way to specify dedicated MGS with MGSDEV var
rcorreia [Fri, 20 Mar 2009 04:40:07 +0000 (04:40 +0000)]
Branch b_hd_kdmu
b=17623
Fix bug where mount.lustre wasn't converting hostnames when mounting clients.
rcorreia [Fri, 20 Mar 2009 04:16:02 +0000 (04:16 +0000)]
Branch b_hd_kdmu
b=17623
Refactor server_name2index(), remove duplicate and obsolete code in mgs_parse_label_to_mti().
Fixes errors when mounting without the MOUNTDATA file.
rcorreia [Wed, 18 Mar 2009 11:25:08 +0000 (11:25 +0000)]
Branch b_hd_kdmu
b=17577
Implemented kDMU-OSD support for labels with ZFS user properties.
Fixed mount.lustre to accept ZFS dataset names.
rcorreia [Wed, 18 Mar 2009 07:11:54 +0000 (07:11 +0000)]
Branch b_hd_kdmu
b=17623
alex [Fri, 13 Mar 2009 08:13:07 +0000 (08:13 +0000)]
- disable noisy warning message
alex [Fri, 13 Mar 2009 08:07:52 +0000 (08:07 +0000)]
- lock object once transation is started - just follow current locking rules
alex [Fri, 13 Mar 2009 08:07:12 +0000 (08:07 +0000)]
- SKIP_ORPHAN feature from HEAD
alex [Fri, 13 Mar 2009 08:06:36 +0000 (08:06 +0000)]
- grab reference on lcm
rcorreia [Fri, 13 Mar 2009 06:41:45 +0000 (06:41 +0000)]
Branch b_hd_kdmu
b=17577
Some kDMU-OSD/udmu cleanups, added some failure handling.
rcorreia [Fri, 13 Mar 2009 05:51:09 +0000 (05:51 +0000)]
Branch b_hd_kdmu
b=17623
Initial mkfs.lustre implementation for DMU/ZFS backend.
Also implements new label format.
rcorreia [Thu, 12 Mar 2009 22:46:17 +0000 (22:46 +0000)]
Branch b_hd_kdmu
Add missing .cvsignore files.
alex [Thu, 12 Mar 2009 13:15:51 +0000 (13:15 +0000)]
- update from HEAD
alex [Wed, 11 Mar 2009 10:31:31 +0000 (10:31 +0000)]
- remove debugging stuff
alex [Wed, 11 Mar 2009 08:25:55 +0000 (08:25 +0000)]
- capa arguments fixed in ldiskfs osd
rcorreia [Wed, 11 Mar 2009 08:00:15 +0000 (08:00 +0000)]
Branch b_hd_kdmu
b=17577
Fixed kDMU OSD to use the latest commit callback API.
alex [Wed, 11 Mar 2009 07:51:33 +0000 (07:51 +0000)]
- ofd_objid.c is not ready yet for prime time
alex [Wed, 11 Mar 2009 07:41:08 +0000 (07:41 +0000)]
- PTLRPC_MAX_BRW_PAGES is valid number of buffers
adilger [Tue, 3 Mar 2009 17:30:12 +0000 (17:30 +0000)]
Branch b_hd_kdmu
Ignore generated files.
alex [Tue, 3 Mar 2009 13:12:53 +0000 (13:12 +0000)]
- don't create on write, use regular precreation instead
alex [Tue, 3 Mar 2009 11:29:51 +0000 (11:29 +0000)]
- copyright headers fixed
alex [Tue, 3 Mar 2009 08:35:38 +0000 (08:35 +0000)]
- filter_set_info_async() initializes local storage
- remove old code in obd_mount.c
alex [Tue, 3 Mar 2009 08:30:40 +0000 (08:30 +0000)]
- MGS does label parsing in case of absent mountdata
- no need to pass fsname as mountoption
- mke2fs -L lustre*OSTXXXX, then mount -t lustre -o mgs=<mgs-nid> <device> <mntpnt> is enough
to get new OST
alex [Mon, 2 Mar 2009 11:01:13 +0000 (11:01 +0000)]
- integrate shrinking grants functionality into ofd
alex [Mon, 2 Mar 2009 10:57:35 +0000 (10:57 +0000)]
- changes to ofd reflecting fixes in OSD API
alex [Mon, 2 Mar 2009 10:26:17 +0000 (10:26 +0000)]
- remove debugging bits
- skip IO if page is uptodate
alex [Mon, 2 Mar 2009 09:58:54 +0000 (09:58 +0000)]
- changes in OSD API to address previous suggestions:
* ->dbo_get_bufs() has rw and capa arguments
* declare methods don't accept capa, it's passed to old "changing" methods
alex [Fri, 27 Feb 2009 08:51:28 +0000 (08:51 +0000)]
- merge retracted old stuff - fixed
alex [Fri, 27 Feb 2009 08:39:48 +0000 (08:39 +0000)]
- update from HEAD
alex [Fri, 27 Feb 2009 08:34:52 +0000 (08:34 +0000)]
- todo comment about space calculation
alex [Fri, 27 Feb 2009 08:16:40 +0000 (08:16 +0000)]
- don't call dt_write_prep() under spinlock
alex [Fri, 27 Feb 2009 06:47:56 +0000 (06:47 +0000)]
- changed formatting a bit
alex [Fri, 27 Feb 2009 06:47:28 +0000 (06:47 +0000)]
- remove needless CERROR()
alex [Fri, 27 Feb 2009 06:46:50 +0000 (06:46 +0000)]
- fix order of arguments in dt_declare_record_write() users
alex [Fri, 27 Feb 2009 06:45:37 +0000 (06:45 +0000)]
- purge all cached objects before osd shutdown
alex [Thu, 26 Feb 2009 19:32:00 +0000 (19:32 +0000)]
- remove needsless code
alex [Thu, 26 Feb 2009 19:13:54 +0000 (19:13 +0000)]
- rename dmu osd module to dosd.ko
alex [Thu, 26 Feb 2009 19:03:17 +0000 (19:03 +0000)]
- remove uoss-related bits, they broke autogen.sh
alex [Thu, 26 Feb 2009 10:55:18 +0000 (10:55 +0000)]
- very primitive support for non-ldiskfs filesystems in t-f
alex [Thu, 26 Feb 2009 10:51:55 +0000 (10:51 +0000)]
- mountconf to start OST once target registration is complete
otherwise we get no OST in case of mountdata file's absense
alex [Thu, 26 Feb 2009 10:50:12 +0000 (10:50 +0000)]
- one more needless print in udmu removed
alex [Thu, 26 Feb 2009 10:28:52 +0000 (10:28 +0000)]
- "stub" support for zfs in mkfs.lustre
alex [Thu, 26 Feb 2009 10:28:13 +0000 (10:28 +0000)]
- memory leak fixed
- cleanup in error handling path
alex [Thu, 26 Feb 2009 10:27:08 +0000 (10:27 +0000)]
- rename DMU to ZFS as per Ricardo's request
alex [Thu, 26 Feb 2009 08:48:08 +0000 (08:48 +0000)]
- use correct osd name
- few optimizations in declares
- osd_shutdown() do not release null objects
- osd_device_fini() can cleanup partial initialized device
- osd_fid_lookup() grabs refcounter on root object
- osd_type_start() and osd_type_stop() so that generic functions don't fail
alex [Thu, 26 Feb 2009 08:44:32 +0000 (08:44 +0000)]
- free mgs and fsname strings from lmd
- release counter for failed osd
alex [Thu, 26 Feb 2009 08:30:15 +0000 (08:30 +0000)]
- remove needless debug printk in udmu
alex [Thu, 26 Feb 2009 08:29:30 +0000 (08:29 +0000)]
- bug in argument order fixed
alex [Wed, 25 Feb 2009 21:12:25 +0000 (21:12 +0000)]
- dmu osd to return correct number of allocated buffers
alex [Wed, 25 Feb 2009 19:51:15 +0000 (19:51 +0000)]
- more error handling in ldiskfs osd
alex [Wed, 25 Feb 2009 19:50:44 +0000 (19:50 +0000)]
- finish device in error path
alex [Tue, 24 Feb 2009 21:43:46 +0000 (21:43 +0000)]
- ofd doesn't panic if fsfilt isn't found
- dmu's create object declaration needs dof (object type)
alex [Tue, 24 Feb 2009 21:39:50 +0000 (21:39 +0000)]
- dmu osd to return fake label (for testing)
- disable sync in dmu osd as it's broken in kdmu
alex [Tue, 24 Feb 2009 19:45:47 +0000 (19:45 +0000)]
- slightly better error handling in mountconf and ldiskfs osd
alex [Tue, 24 Feb 2009 19:43:29 +0000 (19:43 +0000)]
- minor fixes around objset declaration
- stubs for osd_label_{get|set}
- osd_oi_init() creates and opens fid-to-dnode mapping
- osd_mount() opens objset
- number of minor fixes in udmu routines
alex [Mon, 23 Feb 2009 13:26:49 +0000 (13:26 +0000)]
- memory leak (mconf site and lu_device)
alex [Mon, 23 Feb 2009 10:20:37 +0000 (10:20 +0000)]
- fixed refcounting for lustre_mount_info
alex [Sun, 22 Feb 2009 19:32:43 +0000 (19:32 +0000)]
- very preliminary prototype for "early osd"
- OSD is setup by mountconf (both ldiskfs and dmu are tried)
- mountconf uses OSD to access mountdata file
- mountconf can request registration w/o mountdata file
(to be reimplemented within MGS)
- MDT and OFD re-use that OSD
alex [Sun, 22 Feb 2009 11:50:22 +0000 (11:50 +0000)]
- cleanup path in ofd
alex [Sun, 22 Feb 2009 08:49:06 +0000 (08:49 +0000)]
- don't need to fill "created" any more
alex [Sun, 22 Feb 2009 06:33:00 +0000 (06:33 +0000)]
- rename dt methods for better uniformity
- ldiskfs osd to release fsfilt at cleanup
alex [Sat, 21 Feb 2009 20:44:52 +0000 (20:44 +0000)]
- comment filter_fini() for a while - it's not ready yet
alex [Sat, 21 Feb 2009 20:37:15 +0000 (20:37 +0000)]
- ldiskfs osd can set/get diskfs label
alex [Sat, 21 Feb 2009 20:27:33 +0000 (20:27 +0000)]
- methods to set/get label on disk filesystem
alex [Sat, 21 Feb 2009 19:15:12 +0000 (19:15 +0000)]
- path for zfs and spl includes
alex [Sat, 21 Feb 2009 18:46:45 +0000 (18:46 +0000)]
- update from HEAD
alex [Sat, 21 Feb 2009 18:44:25 +0000 (18:44 +0000)]
- struct local_niobuf is sligthly changed
- all its users too
alex [Sat, 21 Feb 2009 18:40:05 +0000 (18:40 +0000)]
- ofd (obdfilter over OSD) is added
alex [Sat, 21 Feb 2009 18:37:37 +0000 (18:37 +0000)]
- replace obdfilter with ofd in b_hd_kdmu
alex [Sat, 21 Feb 2009 18:35:17 +0000 (18:35 +0000)]
- zero-copy IO methods in ldiskfs OSD
- ldiskfs OSD creates object index (fid-to-inode mapping) using internal means
alex [Sat, 21 Feb 2009 18:31:44 +0000 (18:31 +0000)]
- zero-copy methods in DT API
alex [Sat, 21 Feb 2009 18:29:56 +0000 (18:29 +0000)]
- udmu library is added to dmu-osd directory
- bunch of fixes in dmu osd
alex [Sat, 21 Feb 2009 18:26:27 +0000 (18:26 +0000)]
- update from HEAD
alex [Thu, 12 Feb 2009 08:05:17 +0000 (08:05 +0000)]
- update from HEAD
rcorreia [Fri, 6 Feb 2009 23:23:46 +0000 (23:23 +0000)]
Branch b_hd_kdmu
b=18345
Fix unused variable warning when quota is disabled (introduced with OSD API changes).
alex [Fri, 6 Feb 2009 21:33:10 +0000 (21:33 +0000)]
b=18345
- new transaction api for kDMU
alex [Fri, 6 Feb 2009 21:14:37 +0000 (21:14 +0000)]
- update from HEAD
alex [Mon, 19 Jan 2009 06:26:04 +0000 (06:26 +0000)]
- add dmu osd from b_dmu_umds
alex [Sun, 18 Jan 2009 18:41:06 +0000 (18:41 +0000)]
- update from HEAD
alex [Sun, 18 Jan 2009 10:47:14 +0000 (10:47 +0000)]
- update from HEAD
alex [Fri, 9 Jan 2009 18:07:57 +0000 (18:07 +0000)]
- update from HEAD
alex [Mon, 29 Dec 2008 09:55:11 +0000 (09:55 +0000)]
- update from HEAD
rcorreia [Fri, 28 Nov 2008 18:51:48 +0000 (18:51 +0000)]
Merge b_hd_kdmu from HEAD (20081128_1836)
cvs2svn [Tue, 4 Nov 2008 07:29:15 +0000 (07:29 +0000)]
This commit was manufactured by cvs2svn to create branch 'b_hd_kdmu'.
tianzy [Tue, 4 Nov 2008 07:29:14 +0000 (07:29 +0000)]
Branch HEAD
Replace LBUG with RETURN(-EINVAL) to avoid crashing
b=5135
i=adilger
i=johann