search for: _inode

Displaying 9 results from an estimated 9 matches for "_inode".

Did you mean: inode
2020 Sep 26
1
[PATCH 1/2] ext4/xfs: add page refcount helper
...ait_var_event(&page->_refcount, > - atomic_read(&page->_refcount) == 1, TASK_INTERRUPTIBLE, > + dax_layout_is_idle_page(page), TASK_INTERRUPTIBLE, > 0, 0, xfs_wait_dax_page(inode)); > } I still think a litte helper macro would be nice here: #define dax_wait_page(_inode, _page, _wait_cb) \ ___wait_var_event(&(_page)->_refcount, \ atomic_read(&(_page)->_refcount) == 1, \ TASK_INTERRUPTIBLE, dax_layout_is_idle_page(_page), \ TASK_INTERRUPTIBLE, 0, 0, _wait_cb(_inode));
2020 Oct 01
0
[RFC PATCH v3 1/2] ext4/xfs: add page refcount helper
...nclude/linux/dax.h @@ -243,6 +243,16 @@ static inline bool dax_mapping(struct address_space *mapping) return mapping->host && IS_DAX(mapping->host); } +static inline bool dax_layout_is_idle_page(struct page *page) +{ + return page_ref_count(page) == 1; +} + +#define dax_wait_page(_inode, _page, _wait_cb) \ + ___wait_var_event(&(_page)->_refcount, \ + dax_layout_is_idle_page(_page), \ + TASK_INTERRUPTIBLE, 0, 0, _wait_cb(_inode)) + #ifdef CONFIG_DEV_DAX_HMEM_DEVICES void hmem_register_device(int target_nid, struct resource *r); #else -- 2.20.1
2020 Oct 01
8
[RFC PATCH v3 0/2] mm: remove extra ZONE_DEVICE struct page refcount
This is still an RFC because after looking at the pmem/dax code some more, I realized that the ZONE_DEVICE struct pages are being inserted into the process' page tables with vmf_insert_mixed() and a zero refcount on the ZONE_DEVICE struct page. This is sort of OK because insert_pfn() increments the reference count on the pgmap which is what prevents memunmap_pages() from freeing the struct
2020 Sep 25
6
[RFC PATCH v2 0/2] mm: remove extra ZONE_DEVICE struct page refcount
Matthew Wilcox, Ira Weiny, and others have complained that ZONE_DEVICE struct page reference counting is ugly because they are "free" when the reference count is one instead of zero. This leads to explicit checks for ZONE_DEVICE pages in places like put_page(), GUP, THP splitting, and page migration which have to adjust the expected reference count when determining if the page is
2020 Oct 01
0
[RFC PATCH v3 2/2] mm: remove extra ZONE_DEVICE struct page refcount
...- a/include/linux/dax.h +++ b/include/linux/dax.h @@ -245,7 +245,7 @@ static inline bool dax_mapping(struct address_space *mapping) static inline bool dax_layout_is_idle_page(struct page *page) { - return page_ref_count(page) == 1; + return page_ref_count(page) == 0; } #define dax_wait_page(_inode, _page, _wait_cb) \ diff --git a/include/linux/memremap.h b/include/linux/memremap.h index 86c6c368ce9b..2f63747caf56 100644 --- a/include/linux/memremap.h +++ b/include/linux/memremap.h @@ -66,9 +66,10 @@ enum memory_type { struct dev_pagemap_ops { /* - * Called once the page refcount rea...
2018 Feb 27
2
Failed to get quota limits
...gt; > > > > > > > > > >> > > > > > > > > > \[2018-02-13 08:16:28.601097\] I \[MSGID: 106419\] >> > > > > > > > > > >> > > > > > > > > > \[glusterd-utils.c:6110:glusterd\_add\_inode\_size\_to_dict\] 0-management: the >> > > > > > > > > > >> > > > > > > > > > brick on data/myvolume (zfs) uses dynamic inode sizes >> > > > > > > > > > >> > > > > > > > >...
2018 Feb 24
0
Failed to get quota limits
...myvolume > > > > > > > > > > > > > > > > > > > > \[2018-02-13 08:16:28.601097\] I \[MSGID: 106419\] > > > > > > > > > > > > > > > > > > > > \[glusterd-utils.c:6110:glusterd\_add\_inode\_size\_to_dict\] 0-management: the > > > > > > > > > > > > > > > > > > > > brick on data/myvolume (zfs) uses dynamic inode sizes > > > > > > > > > > > > > > > > > > > > \*\*\* /...
2018 Feb 27
0
Failed to get quota limits
...gt; > > > > > > > > > > > > > > > > > \[2018-02-13 08:16:28.601097\] I \[MSGID: 106419\] > > > > > > > > > > > > > > > > > > > > > > > > \[glusterd-utils.c:6110:glusterd\_add\_inode\_size\_to_dict\] 0-management: the > > > > > > > > > > > > > > > > > > > > > > > > brick on data/myvolume (zfs) uses dynamic inode sizes > > > > > > > > > > > > > > > > > &gt...
2018 Feb 23
2
Failed to get quota limits
...ndler.c:4363:__glusterd_handle_status_volume] 0-management: >>>>>>>>> Received status volume req for volume myvolume >>>>>>>>> [2018-02-13 08:16:28.601097] I [MSGID: 106419] >>>>>>>>> [glusterd-utils.c:6110:glusterd_add_inode_size_to_dict] 0-management: the >>>>>>>>> brick on data/myvolume (zfs) uses dynamic inode sizes >>>>>>>>> *** /var/log/glusterfs/cmd_history.log *** >>>>>>>>> [2018-02-13 08:16:28.605478] : volume status myvolume deta...