04 Jan, 2012
1 commit
-
Signed-off-by: Al Viro
01 Nov, 2011
1 commit
-
memchr_inv() is mainly used to check whether the whole buffer is filled
with just a specified byte.The function name and prototype are stolen from logfs and the
implementation is from SLUB.Signed-off-by: Akinobu Mita
Acked-by: Christoph Lameter
Acked-by: Pekka Enberg
Cc: Matt Mackall
Acked-by: Joern Engel
Cc: Marcin Slusarz
Cc: Eric Dumazet
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
21 Jul, 2011
1 commit
-
Btrfs needs to be able to control how filemap_write_and_wait_range() is called
in fsync to make it less of a painful operation, so push down taking i_mutex and
the calling of filemap_write_and_wait() down into the ->fsync() handlers. Some
file systems can drop taking the i_mutex altogether it seems, like ext3 and
ocfs2. For correctness sake I just pushed everything down in all cases to make
sure that we keep the current behavior the same for everybody, and then each
individual fs maintainer can make up their mind about what to do from there.
Thanks,Acked-by: Jan Kara
Signed-off-by: Josef Bacik
Signed-off-by: Al Viro
02 Nov, 2010
1 commit
-
Commit 7d945a3aa760 ("logfs get_sb, part 3") broke the logfs build when
CONFIG_MTD is set due to a mangled logfs_get_sb_mtd() definition.Signed-off-by: Paul Mundt
Signed-off-by: Linus Torvalds
29 Oct, 2010
5 commits
-
Signed-off-by: Al Viro
-
a) switch ->put_device() to logfs_super *
b) actually call it on early failures in logfs_get_sb_device()Signed-off-by: Al Viro
-
take logfs_get_sb_device() calls to logfs_get_sb() itself
Signed-off-by: Al Viro
-
take setting s_bdev/s_mtd/s_devops to callers of logfs_get_sb_device(),
don't bother passing them separatelySigned-off-by: Al Viro
-
move allocation of logfs_super to logfs_get_sb, pass it to
logfs_get_sb_...().Signed-off-by: Al Viro
14 Aug, 2010
1 commit
-
logfs does not need the BKL, so use ->unlocked_ioctl instead
of ->ioctl in file operations.Signed-off-by: Arnd Bergmann
Signed-off-by: Joern Engel
[ fixed trivial conflict ]
Signed-off-by: Frederic Weisbecker
10 Aug, 2010
2 commits
-
Signed-off-by: Al Viro
-
ordering problems at ->kill_sb() time are solved by doing iput()
of these suckers in ->put_super()Signed-off-by: Al Viro
28 May, 2010
1 commit
-
Signed-off-by: Christoph Hellwig
Signed-off-by: Al Viro
21 May, 2010
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (44 commits)
vlynq: make whole Kconfig-menu dependant on architecture
add descriptive comment for TIF_MEMDIE task flag declaration.
EEPROM: max6875: Header file cleanup
EEPROM: 93cx6: Header file cleanup
EEPROM: Header file cleanup
agp: use NULL instead of 0 when pointer is needed
rtc-v3020: make bitfield unsigned
PCI: make bitfield unsigned
jbd2: use NULL instead of 0 when pointer is needed
cciss: fix shadows sparse warning
doc: inode uses a mutex instead of a semaphore.
uml: i386: Avoid redefinition of NR_syscalls
fix "seperate" typos in comments
cocbalt_lcdfb: correct sections
doc: Change urls for sparse
Powerpc: wii: Fix typo in comment
i2o: cleanup some exit paths
Documentation/: it's -> its where appropriate
UML: Fix compiler warning due to missing task_struct declaration
UML: add kernel.h include to signal.c
...
10 May, 2010
1 commit
-
s/seperate/separate
Signed-off-by: Anand Gadiyar
Signed-off-by: Jiri Kosina
08 May, 2010
1 commit
-
The write buffer may not have been written and may no longer be written
due to an interrupted write in the affected page.Signed-off-by: Joern Engel
05 May, 2010
2 commits
-
Ensures we only return -ENOSPC when there really is no space.
Signed-off-by: Joern Engel
-
Refusing to mount beats a kernel crash.
Signed-off-by: Joern Engel
15 Apr, 2010
1 commit
-
It would probably be better to just accept NULL pointers in
mempool_destroy(). But for the current -rc series let's keep things
simple.This patch was lost in the cracks for a while.
Kevin Cernekee had to rediscover the problem and
send a similar patch because of it. :(Signed-off-by: Joern Engel
13 Apr, 2010
1 commit
-
Removing sufficiently large files would create aliases for a large
number of segments. This in turn results in a large number of journal
entries and an overflow of s_je_array.Cheap fix is to add a BUG_ON, turning memory corruption into something
annoying, but less dangerous. Real fix is to count the number of
affected segments and prevent the problem completely.Signed-off-by: Joern Engel
31 Mar, 2010
1 commit
-
All callers are long gone.
Signed-off-by: Joern Engel
29 Mar, 2010
1 commit
-
do_logfs_journal_wl_pass() must call freeseg(), thereby clear
PagePrivate on all pages of the current journal segment.Signed-off-by: Joern Engel
05 Mar, 2010
2 commits
-
This prevents unnecessary journal writes. More importantly it prevents
an oops due to a journal write on failed mount. -
Erases for block devices were always just emulated by writing 0xff.
Some time back the write was removed and only the page cache was
changed to 0xff. Superficialy a good idea with two problems:
1. Touching the page cache isn't necessary either.
2. However, writing out 0xff _is_ necessary for the journal. As the
journal is scanned linearly, an old non-overwritten commit entry
can be used on next mount and cause havoc.This should fix both aspects.
21 Nov, 2009
1 commit
-
This is a new flash file system. See
Documentation/filesystems/logfs.txtSigned-off-by: Joern Engel