forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite2b37d9
committed
Use pg_pread() and pg_pwrite() in slru.c.
This avoids lseek() system calls at every SLRU I/O, as wasdone for relation files in commit c24dcd0c.Reviewed-by: Ashwin Agrawal <aagrawal@pivotal.io>Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CA%2BhUKG%2Biqke4uTRFj8D8uEUUgj%2BRokPSp%2BCWM6YYzaaamG9Wvg%40mail.gmail.comDiscussion:https://postgr.es/m/CA%2BhUKGJ%2BoHhnvqjn3%3DHro7xu-YDR8FPr0FL6LF35kHRX%3D_bUzg%40mail.gmail.com1 parent022350b commite2b37d9
1 file changed
+4
-21
lines changedLines changed: 4 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
669 | 669 |
| |
670 | 670 |
| |
671 | 671 |
| |
672 |
| - | |
| 672 | + | |
673 | 673 |
| |
674 | 674 |
| |
675 | 675 |
| |
| |||
699 | 699 |
| |
700 | 700 |
| |
701 | 701 |
| |
702 |
| - | |
703 |
| - | |
704 |
| - | |
705 |
| - | |
706 |
| - | |
707 |
| - | |
708 |
| - | |
709 |
| - | |
710 | 702 |
| |
711 | 703 |
| |
712 |
| - | |
| 704 | + | |
713 | 705 |
| |
714 | 706 |
| |
715 | 707 |
| |
| |||
749 | 741 |
| |
750 | 742 |
| |
751 | 743 |
| |
752 |
| - | |
| 744 | + | |
753 | 745 |
| |
754 | 746 |
| |
755 | 747 |
| |
| |||
862 | 854 |
| |
863 | 855 |
| |
864 | 856 |
| |
865 |
| - | |
866 |
| - | |
867 |
| - | |
868 |
| - | |
869 |
| - | |
870 |
| - | |
871 |
| - | |
872 |
| - | |
873 |
| - | |
874 | 857 |
| |
875 | 858 |
| |
876 |
| - | |
| 859 | + | |
877 | 860 |
| |
878 | 861 |
| |
879 | 862 |
| |
|
0 commit comments
Comments
(0)