1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-05 13:18:20 +03:00
Commit Graph

48 Commits

Author SHA1 Message Date
Joe Thornber
2099052b83 o rewrite of dm_user_bmap, not tested though. 2001-09-27 10:15:02 +00:00
Joe Thornber
2f1a7a61fc o table creation works again. 2001-09-26 19:48:20 +00:00
Joe Thornber
2b83ef25c5 o It should build now 2001-09-26 17:32:57 +00:00
Joe Thornber
f9e8171a44 o remove steve's insane ramblings from my code. 2001-09-26 14:32:07 +00:00
Steven Whitehouse
5d910431cf o Check in case of setting up volumes before root is mounted. 2001-09-24 15:18:45 +00:00
Alasdair Kergon
c1a727359e hardsect/blksize handling 2001-09-19 17:46:27 +00:00
Steven Whitehouse
7439f2e6c0 o Bug fix to LV_BMAP ioctl()
o Account for I/O against tables rather than logical volume devices
2001-09-19 10:32:09 +00:00
Steven Whitehouse
ab05a11ef5 Should have been included in the previous commit. 2001-09-18 16:53:18 +00:00
Steven Whitehouse
de37c802d7 o Targets now get rw passed through so they can do COW for example
o Added error handler (not sure that this is the "correct" way to do
   this at the moment, so its a bit exprimental for now)
2001-09-14 16:22:02 +00:00
Steven Whitehouse
875fa752a0 o Support /sbin/hotplug 2001-09-14 15:35:06 +00:00
Steven Whitehouse
fb170684a0 o Made pending I/O wait uninterruptible 2001-09-14 14:03:02 +00:00
Steven Whitehouse
9b90e8ee2c o New ioctl(): LV_BMAP which is compatible with LVM so that hopefully LILO
will work. I haven't actually tested that, but this support at least will
   be required.
2001-09-14 13:45:40 +00:00
Alasdair Kergon
df18917b3c Use dmfs_ function name prefix (in line with other file systems). 2001-09-14 13:27:58 +00:00
Patrick Caulfield
9a193e5eb5 Don't store things in _devs[-1] - it's not nice. 2001-09-14 10:54:08 +00:00
Steven Whitehouse
e6b6c6a9cf o Forgot to create slab caches for dm-blkdev.c
o Misc code tidy
2001-09-14 10:40:20 +00:00
Alasdair Kergon
765d06119f o kmalloc error check
o error file mode
The 1st Jan 1970 date I'm seeing in /dev is a devfs issue I think.
2001-09-14 10:06:22 +00:00
Alasdair Kergon
cb68f33cf3 o Remove hard-coded mount point
o Fix macro for compilation
2001-09-13 16:52:50 +00:00
Steven Whitehouse
f34029a1ee o Some ioctl() commands. 2001-09-13 14:01:13 +00:00
Steven Whitehouse
5c8de1dbd5 o I'm afraid that wu and wl etc. is just too confusing.... I've changed it
to up_write() and down_write() etc so that you can see what kind of a lock
   it is (otherwise it could be anything.. semaphore, spinlock, spinlock_bh,
   spinlock_irq, br_lock, etc.)
2001-09-13 11:29:38 +00:00
Steven Whitehouse
2565c99f8b o Use kmem_cache_destroy() to remove slab cache. 2001-09-13 11:07:08 +00:00
Joe Thornber
3f03a60736 o first sattab at custom fs. Very rough ATM.
Mount the dm-fs filesystem on /device-mapper (will fix later).  mkdir
to create a device, inside that directory every file you create is a table
file.  If there are errors <table>.err will appear automagically.  Mv a table
file to ACTIVE to activeate the device.  I'm not happy with mv being the
binding command, symlink would be better.
2001-09-07 11:34:46 +00:00
Joe Thornber
e69ce84e34 o Added two new functions get_child [Andrew Clausen] and get_node. I think
this makes 'high()' a bit more understandable.
2001-09-04 10:17:28 +00:00
Joe Thornber
a612e52245 o added new constant CHILD_PER_NODE to make things clearer 2001-09-03 08:36:41 +00:00
Joe Thornber
5cdd74f2e9 o Various tidy ups [Andrew Clausen] 2001-09-02 10:49:20 +00:00
Joe Thornber
a46d94071b o added reference counting to the destination devices, make sure that the
destructor for any targets you write call dm_table_remove_device.
2001-08-31 16:36:56 +00:00
Joe Thornber
0f29dc2f2d o split struct mapped_device into mapped_device and dm_table
o seperated loading of a table from binding a table to the device

These should allow multiple tables to be managed by dm-fs
2001-08-31 15:13:33 +00:00
Joe Thornber
4183d3fe6c o tidy ups 2001-08-31 12:49:31 +00:00
Joe Thornber
78512ae004 o allocate io_hooks from a slab 2001-08-31 10:25:32 +00:00
Joe Thornber
7567dd82cb o stray return -ENXIO in reuqest [Jens Axboe] 2001-08-31 09:43:35 +00:00
Joe Thornber
61059614b7 o rebuilt 00_latest 2001-08-31 09:14:55 +00:00
Joe Thornber
5410a899ef o various little tidy ups 2001-08-29 13:58:48 +00:00
Joe Thornber
ff8cfdb092 o more deferred io stuff 2001-08-28 14:05:22 +00:00
Joe Thornber
bfba809c79 o added proper suspend/resume support, it now waits for all 'in flight' io's
to complete.

  
  moved comment to dm.h
2001-08-28 13:04:44 +00:00
Joe Thornber
95d3ba14eb o dm_add_target was returning 0 an error when it shouldn't
o reference count was being checked badly
2001-08-23 16:45:43 +00:00
Joe Thornber
3cf3ab579e o map loads ok now
o request function appears to work, but something is segfaulting when i
  mke2fs
2001-08-23 12:35:02 +00:00
Joe Thornber
016cf45775 o fs_add and fs_remove actually create/remove the device now 2001-08-22 15:33:08 +00:00
Joe Thornber
71d325549f o wu macro was doing a read unlock
o added dm_fs_add/remveove
2001-08-22 15:01:09 +00:00
Alasdair Kergon
e753457e7d o Initialisation tweaks.
o Use different major number so it can co-exist with LVM 1.
2001-08-22 13:46:58 +00:00
Joe Thornber
5c45d98645 o call dm_init_fs 2001-08-22 13:41:00 +00:00
Joe Thornber
e16c478a25 o dm-fs compiles, I've forgotten to register the device in /proc though 2001-08-21 15:24:02 +00:00
Joe Thornber
fbc4a8894f o dm-target compiles 2001-08-21 14:51:41 +00:00
Joe Thornber
8b0affe220 o dm-table compiles 2001-08-21 14:47:42 +00:00
Joe Thornber
12a8b590e0 o make dm.c compile 2001-08-21 14:28:00 +00:00
Joe Thornber
537d817f8a o dm_activate/dm_close 2001-08-20 16:12:22 +00:00
Steven Whitehouse
9404455a07 dec use count on close. corrects a typo.
Really the use counts on these modules should be handled at a higher level,
otherwise there are races I think.
2001-08-20 15:59:22 +00:00
Joe Thornber
bf235aa693 o changed _dev_lock to a rw_semaphore 2001-08-20 14:06:25 +00:00
Joe Thornber
d534900b91 o proc interface is getting there. 2001-08-20 13:45:43 +00:00
Joe Thornber
a2f6acada0 o missed one 2001-08-20 08:05:51 +00:00