search for: filemap

Displaying 20 results from an estimated 59 matches for "filemap".

Did you mean: file_map
2012 Jan 28
0
Re: [PATCH 3/3] filemap: don't call generic_write_sync for -EIOCBQUEUED
...prior two patches to xfs > and ext4, at least the major two file systems do the right thing. So, > let''s go ahead and fix this backwards logic. Would this need an adaption to BTRFS as well? Thanks, Martin > Signed-off-by: Jeff Moyer <jmoyer@redhat.com> > --- > mm/filemap.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/mm/filemap.c b/mm/filemap.c > index c4ee2e9..004442f 100644 > --- a/mm/filemap.c > +++ b/mm/filemap.c > @@ -2634,7 +2634,7 @@ ssize_t generic_file_aio_write(struct kiocb > *iocb, const struct i...
2012 Oct 16
3
[PATCH] Change the check for PageReadahead into an else-if
...nohang.net> From 51daa88ebd8e0d437289f589af29d4b39379ea76, page_sync_readahead coalesces async readahead into its readahead window, so another checking for that again is not required. Signed-off-by: Raghavendra D Prabhu <rprabhu@wnohang.net> --- fs/btrfs/relocation.c | 10 ++++------ mm/filemap.c | 3 +-- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 4da0865..6362003 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -2996,12 +2996,10 @@ static int relocate_file_extent_cluster(struct inode *inode...
2010 May 12
0
[PATCH 1/4] fs: allow short direct-io reads to be completed via buffered IO V2
...nline extent during DIO, we need to fallback on buffered. If the extent is compressed we need to read the entire thing into memory and de-compress it into the users pages. I have tested this with fsx and everything works great. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- mm/filemap.c | 36 +++++++++++++++++++++++++++++++----- 1 files changed, 31 insertions(+), 5 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 140ebda..829ac9c 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1263,7 +1263,7 @@ generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov, {...
2010 May 06
1
[PATCH 1/3] fs: allow short direct-io reads to be completed via buffered IO V2
...nline extent during DIO, we need to fallback on buffered. If the extent is compressed we need to read the entire thing into memory and de-compress it into the users pages. I have tested this with fsx and everything works great. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- mm/filemap.c | 36 +++++++++++++++++++++++++++++++----- 1 files changed, 31 insertions(+), 5 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 140ebda..829ac9c 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1263,7 +1263,7 @@ generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov, {...
2013 Apr 06
1
[PATCH 3/4] fsfreeze: manage kill signal when sb_start_pagefault is called
...;marco.stornelli at gmail.com> --- fs/btrfs/inode.c | 4 +++- fs/buffer.c | 4 +++- fs/ext4/inode.c | 4 +++- fs/f2fs/file.c | 4 +++- fs/gfs2/file.c | 4 +++- fs/nilfs2/file.c | 4 +++- fs/ocfs2/mmap.c | 4 +++- include/linux/fs.h | 6 ++++-- mm/filemap.c | 7 +++++-- 9 files changed, 30 insertions(+), 11 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 09c58a3..a6166f4 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -7559,7 +7559,9 @@ int btrfs_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf) u...
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
...de stable because it has been discarded the swap slot may not be freed because it is still needed to reload the discarded page from the swap device. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- include/linux/pagemap.h | 7 ++++++ include/linux/swap.h | 5 ++++ mm/filemap.c | 19 ++++++++++++++++++ mm/memory.c | 12 +++++++++-- mm/page-discard.c | 26 ++++++++++++++++--------- mm/rmap.c | 49 ++++++++++++++++++++++++++++++++++++++++++++---- mm/swap_state.c | 24 ++++++++++++++++++++++- mm/swapfile.c...
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
...de stable because it has been discarded the swap slot may not be freed because it is still needed to reload the discarded page from the swap device. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> --- include/linux/pagemap.h | 7 ++++++ include/linux/swap.h | 5 ++++ mm/filemap.c | 19 ++++++++++++++++++ mm/memory.c | 12 +++++++++-- mm/page-discard.c | 26 ++++++++++++++++--------- mm/rmap.c | 49 ++++++++++++++++++++++++++++++++++++++++++++---- mm/swap_state.c | 24 ++++++++++++++++++++++- mm/swapfile.c...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...ll cause a discard fault which needs to be able to deal with this kind of situation anyway because of races in the memory management. To do this the special find_get_page_nodiscard variant introduced for volatile swap cache is used which does not change the page state. The call to find_get_page in filemap_nopage and filemap_getpage are replaced with find_get_page_nodiscard. By the use of this function a new race condition is created. If a minor fault races with the discard of a page the page may not get mapped to the page table because the discard handler removed the page from the cache which remove...
2007 Apr 18
0
[patch 7/9] Guest page hinting: minor fault optimization.
...ll cause a discard fault which needs to be able to deal with this kind of situation anyway because of races in the memory management. To do this the special find_get_page_nodiscard variant introduced for volatile swap cache is used which does not change the page state. The call to find_get_page in filemap_nopage and filemap_getpage are replaced with find_get_page_nodiscard. By the use of this function a new race condition is created. If a minor fault races with the discard of a page the page may not get mapped to the page table because the discard handler removed the page from the cache which remove...
2005 Jan 04
0
[PATCH] BUG on error handlings in Ext3 under I/O failure condition
...fs.h 2005-01-04 19:58:48.000000000 +0900 @@ -1341,7 +1341,7 @@ invalidate_inode_pages(inode->i_mapping); } extern void invalidate_inode_pages2(struct address_space *mapping); -extern void write_inode_now(struct inode *, int); +extern int write_inode_now(struct inode *, int); extern int filemap_fdatawrite(struct address_space *); extern int filemap_flush(struct address_space *); extern int filemap_fdatawait(struct address_space *); diff -Nru linux-2.4.29-pre3-bk2/fs/ext3/fsync.c linux-2.4.29-pre3-bk2_fix/fs/ext3/fsync.c --- linux-2.4.29-pre3-bk2/fs/ext3/fsync.c 2002-11-29 08:53...
2010 May 07
6
[PATCH 1/5] fs: allow short direct-io reads to be completed via buffered IO V2
...o read the entire thing into memory and de-compress it into the users pages. I have tested this with fsx and everything works great. I also ran xfstests against xfs and btrfs with this patch and everything came out as expected. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com> --- mm/filemap.c | 36 +++++++++++++++++++++++++++++++----- 1 files changed, 31 insertions(+), 5 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 140ebda..829ac9c 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1263,7 +1263,7 @@ generic_file_aio_read(struct kiocb *iocb, const struct iovec *iov, {...
2015 Mar 24
2
error building php spec file
.../sbin/service php-fpm condrestart > /dev/null 2>& fi exit 0 %files %defattr(-,root,root,-) %{_bindir}/* %{_sbindir}/* %{_includedir}/* %{_libdir}/* %{_mandir}/man1/php* %{_sysconfdir}/* %{_datadir}/* %{_initrddir}/* %exclude /.channels %exclude /.depdb %exclude /.depdblock %exclude /.filemap %exclude /.lock %changelog * Mon Mar 23 2015 Mike Willbanks <mike @_________.com> - 5.3.8-1 - Updated to 5.3.8 * Mon Mar 23 2015 Mike Willbanks </mike><mike @_________.com> - 5.3.5-1 - Initial Package I tried to build the package by going to the SPECS directory in my buildroot a...
2009 Feb 06
2
Xen pv_ops domU :: BUG() in remove_from_page_cache()
Hi, 2.6.29-rc3 x86_64 guest on x86_64 RHEL5.3 host: https://bugzilla.redhat.com/484295 kernel BUG at mm/filemap.c:123! invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC last sysfs file: /sys/devices/vbd-51712/block/xvda/xvda2/dev CPU 0 Modules linked in: ipv6 xts lrw gf128mul sha256_generic cbc dm_crypt dm_round_robin dm_multipath b...
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 Jun 28
6
[patch 0/6] resend: guest page hinting version 5.
Greetings, after Carsten pitched CMM2 on the kvm mini summit here is a repost of version 5 of the guest page hinting patches. The code is still the same but has been adapted to the latest git level. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2007 May 11
6
[patch 0/6] [rfc] guest page hinting version 5
After way to many months here is the fifth version of the guest page hinting patches. Compared to version four a few improvements have been added: - Avoid page_host_discards() calls outside of page-states.h - The discard list is now implemented via the page_free_discarded hook and architecture specific code. - PG_state_change page flag has been replaced with architecture specficic
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...: Martin Schwidefsky <schwidefsky@de.ibm.com> --- fs/buffer.c | 1 include/linux/mm.h | 8 + include/linux/page-flags.h | 13 +++ include/linux/page-states.h | 55 +++++++++++++ include/linux/pagemap.h | 1 mm/Makefile | 1 mm/filemap.c | 73 +++++++++++++++++- mm/memory.c | 44 ++++++++++ mm/page-discard.c | 178 ++++++++++++++++++++++++++++++++++++++++++++ mm/page-writeback.c | 3 mm/page_alloc.c | 3 mm/rmap.c | 68 ++++++++++++++--...
2007 Apr 18
4
[patch 3/9] Guest page hinting: volatile page cache.
...: Martin Schwidefsky <schwidefsky@de.ibm.com> --- fs/buffer.c | 1 include/linux/mm.h | 8 + include/linux/page-flags.h | 13 +++ include/linux/page-states.h | 55 +++++++++++++ include/linux/pagemap.h | 1 mm/Makefile | 1 mm/filemap.c | 73 +++++++++++++++++- mm/memory.c | 44 ++++++++++ mm/page-discard.c | 178 ++++++++++++++++++++++++++++++++++++++++++++ mm/page-writeback.c | 3 mm/page_alloc.c | 3 mm/rmap.c | 68 ++++++++++++++--...
2001 Nov 26
0
[andrea@suse.de: Re: VFS bug in 2.4.10+ which applies ulimits to block devices]
...'s insane to set file limits for root during boot, the only problem I know of were because of the old userspace that doesn't handle correctly the new ulimited defines ~0UL instead of ~0UL>>1. We can provide total backwards compatibility with a simple IS_BLK check in generic_file_* in filemap.c, but I'm not sure if it really worth to add a branch there just for this. Andrea ----- End forwarded message ----- -- Yusuf Goolamabbas yusufg@outblaze.com