FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

LinkBack Thread Tools
Old 03-19-2012, 02:53 PM
Hannes Reinecke
Default Device-mapper misc cleanup

This is small patchset for some cleanups I've found during
debugging other issues:

- Zero out bi_end_io: I always find it more convenient to
explictly zero out things we've set previously. No harm
done, but possibly easier debugging.
- Simplify call to free_devices(): free_devices() already
does a list_for_each(), so we don't have to check for
- Delayed cleanup for dm_table_destroy(): We have krefs
in the kernel, which does exactly what we want. And I
fail to see why we can't use them here. Plus we're
saving an msleep ...

Hannes Reinecke (3):
dm: zero out bi_end_io on remapping failure
dm-table: simplify call to free_devices()
dm-table: delayed cleanup for dm_table_destroy()

drivers/md/dm-table.c | 29 ++++++++++++++---------------
drivers/md/dm.c | 1 +
2 files changed, 15 insertions(+), 15 deletions(-)

dm-devel mailing list

Thread Tools

All times are GMT. The time now is 07:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org